Skip to main content
JSON Manual Created Edited

General Link

Input URI

{base url} + db/NLNK



Active Methods

POST, GET, PUT, DELETE



JSON Schema

Details

{
    "NLNK": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "NODE1": {
                "description": "Node1",
                "type": "integer"
            },
            "NODE2": {
                "description": "Node2",
                "type": "integer"
            },
            "PROP_NAME": {
                "description": "GeneralLinkPropertyName",
                "type": "string"
            },
            "IEHP_NAME": {
                "description": "InelasticHingePropertyName",
                "type": "string"
            },
            "REF_SYSTEM": {
                "description": "ReferenceCoordinateSystem",
                "type": "integer"
            },
            "BETA_ANGLE": {
                "description": "BetaAngle",
                "type": "number"
            },
            "INPUT_METHOD": {
                "description": "InputMethod",
                "type": "integer"
            },
            "ANGLE_VALUES": {
                "description": "Angle(x,y,z)",
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "VALUE": {
                            "description": "Value",
                            "type": "array",
                            "items": {
                                "type": "number"
                            }
                        }
                    }
                }
            },
            "POINT_VALUES": {
                "description": "3points(P0X~Z,P1X~Z,P2X~Z)",
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "VALUE": {
                            "description": "Value",
                            "type": "array",
                            "items": {
                                "type": "number"
                            }
                        }
                    }
                }
            },
            "VECTOR_VALUES": {
                "description": "Vector(V1X~Z,V2X~Z)",
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "VALUE": {
                            "description": "Value",
                            "type": "array",
                            "items": {
                                "type": "number"
                            }
                        }
                    }
                }
            },
            "GROUP_NAME": {
                "description": "BoundaryGroupName",
                "type": "string"
            }
        }
    }
}


Examples

Element

{
    "Assign": {
        "1": {
            "NODE1": 10,
            "NODE2": 11,
            "PROP_NAME": "GL01",
            "IEHP_NAME": "Inelastic_Link",
            "REF_SYSTEM": 0,
            "BETA_ANGLE": 30,
            "GROUP_NAME": "Service"
        }
    }
}

Global - Angle

{
    "Assign": {
        "2": {
            "NODE1": 11,
            "NODE2": 12,
            "PROP_NAME": "GL01",
            "IEHP_NAME": "Inelastic_Link",
            "REF_SYSTEM": 1,
            "INPUT_METHOD": 0,
            "ANGLE_VALUES": [
                {
                    "VALUE": [
                        10,
                        15,
                        20
                    ]
                }
            ],
            "GROUP_NAME": "Service"
        }
    }
}

Global - 3 Points

{
    "Assign": {
        "3": {
            "NODE1": 12,
            "NODE2": 13,
            "PROP_NAME": "GL01",
            "IEHP_NAME": "Inelastic_Link",
            "REF_SYSTEM": 1,
            "INPUT_METHOD": 1,
            "POINT_VALUES": [
                {
                    "VALUE": [
                        1,
                        0,
                        0
                    ]
                },
                {
                    "VALUE": [
                        0,
                        1,
                        0
                    ]
                },
                {
                    "VALUE": [
                        0,
                        0,
                        1
                    ]
                }
            ],
            "GROUP_NAME": "Service"
        }
    }
}

Global - Vector

{
    "Assign": {
        "4": {
            "NODE1": 13,
            "NODE2": 14,
            "PROP_NAME": "GL01",
            "IEHP_NAME": "Inelastic_Link",
            "REF_SYSTEM": 1,
            "INPUT_METHOD": 2,
            "VECTOR_VALUES": [
                {
                    "VALUE": [
                        3,
                        5,
                        0
                    ]
                },
                {
                    "VALUE": [
                        -2,
                        5,
                        0
                    ]
                }
            ],
            "GROUP_NAME": "Service"
        }
    }
}


Specifications

No. Description Key Value Type Default Required

1

Node 1 ID Number

"NODE1"

Integer

-

Required

2

Node 2 ID Number

"NODE2"

Integer

-

Required

3

Boundary Group Name

"GROUP_NAME"

String

Blank

Optional

4

General Link Property Name

"PROP_NAME"

String

-

Required

5

Inelastic Hinge Property Name

"IEHP_NAME"

String

Blank

Optional

6

Reference Coordinate System

 • Element: 0

 • Global: 1

"REF_SYSTEM"

Integer

-

Required

Element

7

Beta Angle

"BETA_ANGLE"

Number

0

Optional

Global - Angle

7

Input Method

 • Angle: 0

"INPUT_METHOD"

Integer

-

Required

8

Angle

 • Insert the data as an object

"ANGLE_VALUES"

Array
[Object]

-

Required

(1)

Angle Values

 • [about X, about y', about z'']

"VALUE"

Array
[Number,3]

-

Required

Global - 3 Points

7

Input Method

 • 3 Points: 1

"INPUT_METHOD"

Integer

-

Required

8

Points

 • Insert the data as an object

 • [P0, P1, P2]

"POINT_VALUES"

Array
[Object, 3]

-

Required

(1)

Point Values

 • [X, Y, Z]

"VALUE"

Array
[Number,3]

-

Required

Global - Vector

7

Input Method

 • Vector: 2

"INPUT_METHOD"

Integer

-

Required

8

Points

 • Insert the data as an object

 • [V1, V2]

"POINT_VALUES"

Array
[Object, 2]

-

Required

(1)

Point Values

 • [X, Y, Z]

"VALUE"

Array
[Number,3]

-

Required



0
Was this article helpful?