Skip to main content
JSON Manual Created Edited

Element Weight Table

Input URI

{base url} + post/TABLE



Active Methods

POST



JSON Schema

Details

{
    "TABLE": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "ElementWeightTable",
        "type": "object",
        "properties": {
            "Argument": {
                "type": "object",
                "properties": {
                    "TABLE_NAME": {
                        "type": "string"
                    },
                    "TABLE_TYPE": {
                        "type": "string"
                    },
                    "EXPORT_PATH": {
                        "type": "string"
                    },
                    "NODE_ELEMS": {
                        "type": "object",
                        "properties": {
                            "TO": {
                                "type": "string"
                            },
                            "KEYS": {
                                "type": "array",
                                "items": {
                                    "type": "integer"
                                }
                            },
                            "STRUCTURE_GROUP_NAME": {
                                "type": "string"
                            }
                        },
                        "anyOf": [
                            {
                                "required": [
                                    "TO"
                                ]
                            },
                            {
                                "required": [
                                    "KEYS"
                                ]
                            },
                            {
                                "required": [
                                    "STRUCTURE_GROUP_NAME"
                                ]
                            },
                            {
                                "not": {
                                    "required": [
                                        "TO",
                                        "KEYS",
                                        "STRUCTURE_GROUP_NAME"
                                    ]
                                }
                            }
                        ]
                    }
                }
            }
        }
    }
}


Request Examples

Element Weight

{
    "Argument": {
        "TABLE_NAME": "Example",
        "TABLE_TYPE": "ELEMENTWEIGHT",
        "EXPORT_PATH": "C:\\MIDAS\\Result\\Elementweight_all_Output.JSON",
        "NODE_ELEMS": {
            "TO": "1to5"
        }
    }
}


Response Examples

Element Weight

{
    "Example": {
        "FORCE": "N",
        "DIST": "m",
        "HEAD": [
            "Index",
            "No",
            "Type",
            "No",
            "Name",
            "No",
            "Name",
            "No",
            "Name",
            "Type",
            "Value",
            "UnitWeight",
            "TotalWeight"
        ],
        "DATA": [
            [
                "1",
                "1",
                "BEAM",
                "1",
                "SS235",
                "1208",
                "H300x150x6.5/9",
                "-",
                "-",
                "L",
                "4.0000",
                "76980.0000",
                "1440.4500"
            ],
            [
                "2",
                "2",
                "BEAM",
                "1",
                "SS235",
                "1208",
                "H300x150x6.5/9",
                "-",
                "-",
                "L",
                "4.0000",
                "76980.0000",
                "1440.4500"
            ],
            [
                "3",
                "3",
                "BEAM",
                "1",
                "SS235",
                "1104",
                "H300x150x6.5/9",
                "-",
                "-",
                "L",
                "2.0615",
                "76980.0000",
                "742.3910"
            ],
            [
                "4",
                "4",
                "BEAM",
                "1",
                "SS235",
                "1104",
                "H300x150x6.5/9",
                "-",
                "-",
                "L",
                "2.0615",
                "76980.0000",
                "742.3910"
            ],
            [
                "5",
                "5",
                "BEAM",
                "1",
                "SS235",
                "1212",
                "H250x125x6/9",
                "-",
                "-",
                "L",
                "4.0000",
                "76980.0000",
                "1159.6300"
            ]
        ]
    }
}


Specifications

No. Description Key Value Type Default Required

1

Table Name

 • Response Table Title

"TABLE_NAME"

String

Empty

Optional

2

Result Table Type

 • "ELEMENTWEIGHT"

"TABLE_TYPE"

String

-

Required

3

Result Table Save Path

"EXPORT_PATH"

String

-

Optional

4

Node / Element No. Input

 • Use Only One of the Three Methods

"NODE_ELEMS"

Object

All

Optional

Method 1: Specify Each ID

(1)

 • "KEYS": [ 101, 102, 103 ]

"KEYS"

Array
[Integer]

-

Optional

Method 2: Specify ID Range

(1)

 • "TO": "101 to 105"

"TO"

String

-

Optional

Method 3 Specify Structure Group Name

(1)

 • "STRUCTURE_GROUP_NAME": "SG1"

"STRUCTURE_GROUP_NAME"

String

-

Optional



0
Was this article helpful?