Skip to main content
JSON Manual Created Edited

Define Plane Load Type

Input URI

{base url} + db/PNLD



Active Methods

POST, GET, PUT, DELETE



JSON Schema

Details

{
    "PNLD": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "NAME": {
                "description": "LoadTypeName",
                "type": "string"
            },
            "DESC": {
                "description": "Description",
                "type": "string"
            },
            "LTYPE": {
                "description": "LoadType(POINTorLINEorAREA)",
                "type": "string"
            },
            "POINTLOAD": {
                "description": "LoadData(PointArray)",
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "X": {
                            "description": "PointX",
                            "type": "number"
                        },
                        "Y": {
                            "description": "PointY",
                            "type": "number"
                        },
                        "F": {
                            "description": "Force",
                            "type": "number"
                        }
                    }
                }
            },
            "LINELOAD": {
                "description": "LoadData(Line)",
                "type": "object",
                "properties": {
                    "bUNIFORM": {
                        "description": "IsUniformData(ifTrue,Force[1]sameasForce[0])",
                        "type": "boolean"
                    },
                    "X": {
                        "description": "PointX1,X2",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 2
                        }
                    },
                    "Y": {
                        "description": "PointY1,Y2",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 2
                        }
                    },
                    "F": {
                        "description": "Force",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 2
                        }
                    }
                }
            },
            "AREALOAD": {
                "description": "LoadData(Surface)",
                "type": "object",
                "properties": {
                    "bUNIFORM": {
                        "description": "IsUniformData(ifTrue,Force[1~3]sameasForce[0])",
                        "type": "boolean"
                    },
                    "b3PNT": {
                        "description": "ifTrue,assignloadwith3point",
                        "type": "boolean"
                    },
                    "X": {
                        "description": "PointX1,X2,X3,X4",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 4
                        }
                    },
                    "Y": {
                        "description": "PointY1,Y2,Y3,Y4",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 4
                        }
                    },
                    "LOAD": {
                        "description": "Load",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 4
                        }
                    }
                }
            },
            "COPY_X": {
                "description": "Copyx-Direction",
                "type": "array",
                "items": {
                    "type": "number"
                }
            },
            "COPY_Y": {
                "description": "Copyy-Direction",
                "type": "array",
                "items": {
                    "type": "number"
                }
            },
            "SEQ": {
                "description": "SequenceNumber(MustbeUnique)",
                "type": "integer"
            }
        }
    }
}


Examples

Points

{
    "Assign": {
        "1": {
            "NAME": "Point_examples",
            "DESC": "API_example",
            "LTYPE": "POINT",
            "POINTLOAD": [
                {
                    "X": 0,
                    "Y": 0,
                    "F": -10
                },
                {
                    "X": 1,
                    "Y": -1,
                    "F": 10.5
                }
            ],
            "COPY_X": [
                5,
                5,
                5
            ],
            "COPY_Y": [
                4.5
            ],
            "SEQ": 1
        }
    }
}

Line : Uniform load

{
    "Assign": {
        "2": {
            "NAME": "Line_examples1",
            "DESC": "API_example",
            "LTYPE": "LINE",
            "LINELOAD": {
                "bUNIFORM": true,
                "X": [
                    0,
                    3.5
                ],
                "Y": [
                    0,
                    1.2
                ],
                "F": [
                    20.5
                ]
            },
            "COPY_X": [
                5
            ],
            "COPY_Y": [
                5,
                5,
                5
            ],
            "SEQ": 2
        }
    }
}

Line : Trapezoidal load

{
    "Assign": {
        "3": {
            "NAME": "Line_examples2",
            "DESC": "API_example",
            "LTYPE": "LINE",
            "LINELOAD": {
                "bUNIFORM": false,
                "X": [
                    0,
                    3.5
                ],
                "Y": [
                    0,
                    1.2
                ],
                "F": [
                    20.5,
                    11.4
                ]
            },
            "COPY_X": [
                5
            ],
            "COPY_Y": [
                5,
                5,
                5
            ],
            "SEQ": 3
        }
    }
}

Area : 3 point and Uniform load

{
    "Assign": {
        "4": {
            "NAME": "Area_examples1",
            "DESC": "API_example",
            "LTYPE": "AREA",
            "AREALOAD": {
                "bUNIFORM": true,
                "b3PNT": true,
                "X": [
                    1.5,
                    1.5,
                    0
                ],
                "Y": [
                    0,
                    2,
                    2
                ],
                "LOAD": [
                    41.3
                ]
            },
            "COPY_X": [
                2.5,
                2.5
            ],
            "COPY_Y": [
                1.2,
                1.2,
                1.2
            ],
            "SEQ": 3
        }
    }
}

Area : 3 point and Trapezoidal load

{
    "Assign": {
        "5": {
            "NAME": "Area_examples2",
            "DESC": "API_example",
            "LTYPE": "AREA",
            "AREALOAD": {
                "bUNIFORM": false,
                "b3PNT": true,
                "X": [
                    1.5,
                    1.5,
                    0
                ],
                "Y": [
                    0,
                    2,
                    2
                ],
                "LOAD": [
                    41.3,
                    12.5,
                    13.5
                ]
            },
            "COPY_X": [
                2.5,
                2.5
            ],
            "COPY_Y": [
                1.2,
                1.2,
                1.2
            ],
            "SEQ": 4
        }
    }
}

Area : 4 point and Uniform load

{
    "Assign": {
        "6": {
            "NAME": "Area_examples3",
            "DESC": "API_example",
            "LTYPE": "AREA",
            "AREALOAD": {
                "bUNIFORM": true,
                "b3PNT": false,
                "X": [
                    1.5,
                    1.5,
                    0,
                    0
                ],
                "Y": [
                    0,
                    2,
                    2,
                    0
                ],
                "LOAD": [
                    41.3
                ]
            },
            "COPY_X": [
                2.5,
                2.5
            ],
            "COPY_Y": [
                1.2,
                1.2,
                1.2
            ],
            "SEQ": 5
        }
    }
}

Area : 4 point and Trapezoidal load

{
    "Assign": {
        "7": {
            "NAME": "Area_examples4",
            "DESC": "API_example",
            "LTYPE": "AREA",
            "AREALOAD": {
                "bUNIFORM": false,
                "b3PNT": false,
                "X": [
                    1.5,
                    1.5,
                    0,
                    0
                ],
                "Y": [
                    0,
                    2,
                    2,
                    0
                ],
                "LOAD": [
                    41.3,
                    24.5,
                    32.6,
                    15.2
                ]
            },
            "COPY_X": [
                5
            ],
            "COPY_Y": [
                3
            ],
            "SEQ": 6
        }
    }
}


Specifications

No. Description Key Value Type Default Required

1

Load Type Name

"NAME"

String

-

Required

2

Description

"DESC"

String

Blank

Optional

3

Load Type

 • Point: "POINT"

 • Line: "LINE"

 • Area: "AREA"

"LTYPE"

String

-

Required

4

Copy in X-Direction

"COPY_X"

Array
[Number]

-

Required

5

Copy in Y-Direction

"COPY_Y"

Array
[Number]

-

Required

6

Sequence Number (Unique)

"SEQ"

Integer

Auto

Optional

Only for Point Loads

7

Point Loads

 • Insert the data as an object

"POINTLOAD"

Array
[Object]

-

Required

(1)

Point X

"X"

Number

0

Optional

(2)

Point Y

"Y"

Number

0

Optional

(3)

Force

"F"

Number

0

Optional

Only for Line Loads

7

Line Loads

"LINELOAD"

Object

-

Required

(1)

Load Type

 • Uniform: true

 • Trapezoidal: false

"bUNIFORM"

Boolean

true

Optional

(2)

Coordinates of X1, X2

 • [X1, X2]

"X"

Array
[Number, 2]

0

Optional

(3)

Coordinates of Y1, Y2

 • [Y1, Y2]

"Y"

Array
[Number, 2]

0

Optional

(4)

Force

 • Uniform: [F1]

 • Trapezoidal: [F1, F2]

"F"

Array
[Number, 2]

0

Optional

Only for Area Loads

7

Area Loads

"AREALOAD"

Object

-

Required

(1)

Load Type

 • Uniform: true

 • Trapezoidal: false

"bUNIFORM"

Boolean

false

Optional

(2)

Points

 • 3 points: true

 • 4 points: false

"b3PNT"

Boolean

false

Optional

(3)

Coordinates of X1, X2, X3, X4

 • [X1, X2, X3, X4]

"X"

Array
[Number, 4]

0

Optional

(4)

Coordinates of Y1, Y2, Y3, Y4

 • [Y1, Y2, Y3, Y4]

"Y"

Array
[Number, 4]

0

Optional

(5)

Load

 • Uniform: [F1]

 • Trapezoidal: [F1, F2, F3, F4]

"LOAD"

Array
[Number, 4]

0

Optional



0
Was this article helpful?