Skip to main content
JSON Manual Created Edited

Time History Text - General Link Result

Input URI

{base url} + post/TEXT



Active Methods

POST



JSON Schema

Details

{
    "TEXT": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "Argument": {
                "type": "object",
                "properties": {
                    "TABLE_TYPE": {
                        "type": "string",
                        "description": "ResultTableType",
                        "enum": [
                            "TH_GLINKDEFORM",
                            "TH_GLINKFORCE"
                        ]
                    },
                    "EXPORT_PATH": {
                        "type": "string",
                        "description": "ResultTableSavePath"
                    },
                    "UNIT": {
                        "type": "object",
                        "description": "ResponseUnitSetting",
                        "properties": {
                            "FORCE": {
                                "type": "string",
                                "description": "Force"
                            },
                            "DIST": {
                                "type": "string",
                                "description": "Length"
                            },
                            "HEAT": {
                                "type": "string",
                                "description": "Heat"
                            },
                            "TEMP": {
                                "type": "string",
                                "description": "Temperature"
                            }
                        }
                    },
                    "STYLES": {
                        "type": "object",
                        "description": "ResponseNumberFormat",
                        "properties": {
                            "FORMAT": {
                                "type": "string",
                                "description": "Numberformat",
                                "enum": [
                                    "Fixed",
                                    "Exponential"
                                ]
                            },
                            "PLACE": {
                                "type": "integer",
                                "description": "Digitplace"
                            }
                        }
                    },
                    "COMPONENTS": {
                        "type": "array",
                        "description": "ComponentsofResultTable",
                        "items": {
                            "type": "string"
                        }
                    },
                    "NODE_ELEMS": {
                        "type": "object",
                        "description": "Node/ElementNo.Input",
                        "properties": {
                            "KEYS": {
                                "type": "array",
                                "description": "Method1:SpecifyEachID",
                                "items": {
                                    "type": "integer"
                                }
                            },
                            "TO": {
                                "type": "string",
                                "description": "Method2:SpecifyIDRange"
                            }
                        }
                    },
                    "PARTS": {
                        "type": "array",
                        "description": "ElementPart",
                        "items": {
                            "type": "string",
                            "enum": [
                                "PartI",
                                "PartJ"
                            ]
                        }
                    },
                    "TH_CASE_NAME": {
                        "type": "array",
                        "description": "TimeHistoryLoadCases",
                        "items": {
                            "type": "string"
                        }
                    },
                    "STEP": {
                        "type": "object",
                        "description": "OutputTimeStep",
                        "properties": {
                            "FROM": {
                                "type": "number",
                                "description": "StartTime"
                            },
                            "TO": {
                                "type": "number",
                                "description": "EndTime"
                            },
                            "STEPS": {
                                "type": "integer",
                                "description": "TimeInterval"
                            }
                        }
                    }
                }
            }
        }
    }
}


Request Examples

General Link Deformation

{
    "Argument": {
        "TEXT_TYPE": "TH_GLINKDEFORM",
        "EXPORT_PATH": "C:\\MIDAS\\Result\\TH_GlinkDeform_Out.JSON",
        "UNIT": {
            "FORCE": "N",
            "DIST": "MM"
        },
        "STYLES": {
            "FORMAT": "Fixed",
            "PLACE": 6
        },
        "COMPONENTS": [
            "Key",
            "Node1",
            "Node2",
            "Load",
            "Time/Step",
            "DX",
            "DY",
            "DZ",
            "RX",
            "RY",
            "RZ"
        ],
        "NODE_ELEMS": {
            "KEYS": [
                1
            ]
        },
        "TH_CASE_NAME": [
            "Elcent"
        ],
        "STEP": {
            "FROM": 0.1,
            "TO": 0.5,
            "STEPS": 1
        }
    }
}

General Link Force

{
    "Argument": {
        "TEXT_TYPE": "TH_GLINKFORCE",
        "EXPORT_PATH": "C:\\MIDAS\\Result\\TH_GlinkForce_Out.JSON",
        "UNIT": {
            "FORCE": "KN",
            "DIST": "M"
        },
        "STYLES": {
            "FORMAT": "Fixed",
            "PLACE": 6
        },
        "COMPONENTS": [
            "Key",
            "Node1",
            "Node2",
            "Load",
            "Time/Step",
            "Part",
            "FX",
            "FY",
            "FZ",
            "MX",
            "MY",
            "MZ"
        ],
        "NODE_ELEMS": {
            "KEYS": [
                1
            ]
        },
        "PARTS": [
            "PartI",
            "PartJ"
        ],
        "TH_CASE_NAME": [
            "Elcent"
        ],
        "STEP": {
            "FROM": 0.1,
            "TO": 0.3,
            "STEPS": 1
        }
    }
}


Response Examples

General Link Deformation

{
    "TH_GLINKDEFORM": {
        "FORCE": "N",
        "DIST": "mm",
        "HEAD": [
            "Index",
            "Key",
            "Node1",
            "Node2",
            "Load",
            "Time/Step",
            "DX",
            "DY",
            "DZ",
            "RX",
            "RY",
            "RZ"
        ],
        "DATA": [
            [
                "1",
                "1",
                "18",
                "10",
                "Elcent",
                "0.100",
                "-0.366319",
                "0.249123",
                "-0.138251",
                "0.000003",
                "-0.000004",
                "-0.000018"
            ],
            [
                "2",
                "1",
                "18",
                "10",
                "Elcent",
                "0.200",
                "-1.862090",
                "1.407943",
                "-0.515132",
                "0.000043",
                "-0.000107",
                "-0.000011"
            ],
            [
                "3",
                "1",
                "18",
                "10",
                "Elcent",
                "0.300",
                "-6.626454",
                "4.923868",
                "-1.502300",
                "0.000243",
                "-0.000552",
                "0.000135"
            ],
            [
                "4",
                "1",
                "18",
                "10",
                "Elcent",
                "0.400",
                "-13.997872",
                "9.895270",
                "-1.743161",
                "0.000596",
                "-0.001502",
                "0.000821"
            ]
        ]
    }
}

General Link Force

{
    "TH_GLINKFORCE": {
        "FORCE": "kN",
        "DIST": "m",
        "HEAD": [
            "Index",
            "Key",
            "Node1",
            "Node2",
            "Load",
            "Time/Step",
            "Part",
            "FX",
            "FY",
            "FZ",
            "MX",
            "MY",
            "MZ"
        ],
        "DATA": [
            [
                "1",
                "1",
                "18",
                "10",
                "Elcent",
                "0.100",
                "I",
                "-1.216319",
                "1.099123",
                "-0.941257",
                "0.274092",
                "-0.408692",
                "-1.029260"
            ],
            [
                "2",
                "1",
                "18",
                "10",
                "Elcent",
                "0.100",
                "J",
                "-1.216319",
                "1.099123",
                "-0.941257",
                "0.274092",
                "-0.408692",
                "-1.029260"
            ],
            [
                "3",
                "1",
                "18",
                "10",
                "Elcent",
                "0.200",
                "I",
                "-2.712090",
                "2.257943",
                "-1.365132",
                "1.280736",
                "-1.921911",
                "-0.327463"
            ],
            [
                "4",
                "1",
                "18",
                "10",
                "Elcent",
                "0.200",
                "J",
                "-2.712090",
                "2.257943",
                "-1.365132",
                "1.280736",
                "-1.921911",
                "-0.327463"
            ]
        ]
    }
}


Specifications

No. Description Key Value Type Default Required

1

Result Text Type

 • General Link Deformation: "TH_GLINKDEFORM"

 • General Link Force: "TH_GLINKFORCE"

"TEXT_TYPE"

String

-

Required

2

Result Table Save Path

"EXPORT_PATH"

String

-

Optional

3

Response Unit Setting

"UNIT"

Object

System

Optional

(1)

Force

"FORCE"

String

-

Optional

(2)

Length

"DIST"

String

-

Optional

(3)

Heat

"HEAT"

String

-

Optional

(4)

Temperature

"TEMP"

String

-

Optional

4

Response Number Format

"STYLES"

Object

System

Optional

(1)

Number Format

 • "Fixed"

 • "Exponential"

"FORMAT"

String

-

Optional

(2)

Digit Place

 • 0 to 15

"PLACE"

Integer

-

Optional

5

Components of Result Table

"COMPONENTS"

Array [String]

All

Optional

6

Node / Element No. Input

 • Use Only One of the Two 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

7

Element Part

 • General Link Force

   ◦ "Part I"

   ◦ "Part J"

"PARTS"

Array [String]

All

Optional

8

Time History Load Case

"TH_CASE_NAME"

Array [String]

All

Optional

9

Output Time Step

"STEP"

Object

-

Required

(1)

Start Time

"FROM"

Number

-

Required

(2)

End Time

"TO"

Number

-

Required

(3)

Time Interval

"STEPS"

Integer

-

Required



0
Was this article helpful?