Skip to main content
JSON Manual Created Edited

Capture

Input URI

{base url} + view/CAPTURE



Active Methods

POST



JSON Schema

Details

{
    "CAPTURE": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "Argument": {
                "type": "object",
                "properties": {
                    "FIGURE_NAME": {
                        "type": "string"
                    },
                    "EXPORT_PATH": {
                        "type": "string"
                    },
                    "WIDTH": {
                        "type": "integer"
                    },
                    "HEIGHT": {
                        "type": "integer"
                    },
                    "STAGE_NAME": {
                        "type": "string"
                    },
                    "SET_MODE": {
                        "type": "string"
                    },
                    "SET_HIDDEN": {
                        "type": "boolean"
                    },
                    "ACTIVE": {
                        "type": "object",
                        "description": "Veiw/Active"
                    },
                    "ANGLE": {
                        "type": "object",
                        "description": "Veiw/Angle"
                    },
                    "DISPLAY": {
                        "type": "object",
                        "description": "Veiw/Display"
                    },
                    "RESULT_GRAPHIC": {
                        "type": "object",
                        "description": "Veiw/Result Graphic"
                    }
                }
            }
        }
    }
}


Examples

Capture

{
    "Argument": {
        "SET_MODE": "post",
        "SET_HIDDEN": false,
        "EXPORT_PATH": "C:\\MIDAS\\CaptureTest\\image.jpg",
        "HEIGHT": 1000,
        "WIDTH": 1000,
        "ACTIVE": {
            "ACTIVE_MODE": "Active",
            "N_LIST": [
                104,
                125,
                151,
                153
            ],
            "E_LIST": [
                196,
                228,
                229,
                231,
                232,
                269,
                270,
                279,
                280,
                291,
                292,
                349,
                350
            ]
        },
        "ANGLE": {
            "HORIZONTAL": 45,
            "VERTICAL": 60
        },
        "DISPLAY": {
            "NODE": {
                "NODE": true,
                "NODE_NUMBER": true
            },
            "PERSPECTIVE": true,
            "ZOOM_LEVEL": 150,
            "BGCOLOR_TOP": {
                "R": 255,
                "G": 125,
                "B": 125
            }
        },
        "RESULT_GRAPHIC": {
            "CURRENT_MODE": "beam diagrams",
            "LOAD_CASE_COMB": {
                "TYPE": "ST",
                "NAME": "DL"
            },
            "COMPONENTS": {
                "PART": "total",
                "COMP": "Fx"
            },
            "DISPLAY_OPTIONS": {
                "FIDELITY": "Exact",
                "FILL": "line fill",
                "SCALE": 1.0
            },
            "TYPE_OF_DISPLAY": {
                "CONTOUR": {
                    "OPT_CHECK": true
                },
                "DEFORM": {
                    "OPT_CHECK": true
                },
                "LEGEND": {
                    "OPT_CHECK": true
                },
                "VALUES": {
                    "OPT_CHECK": true
                }
            },
            "OUTPUT_SECT_LOCATION": {
                "OPT_I": true,
                "OPT_CENTER_MID": true,
                "OPT_J": true
            }
        }
    }
}


Specifications

No. Description Key Value Type Default Required

Smart(Dynamic) Report

1

Image File Save Path & File Name

"EXPORT_PATH"

String

-

Required

2

Smart Report Image Name

"FIGURE_NAME"

String

-

Required

User Setting

1

Image File Save Path & File Name

"EXPORT_PATH"

String

-

Required

2

Construction Stage Name

"STAGE_NAME"

String

-

Optional

3

Select Analysis Mode

 • Pre-Mode: "pre"

 • Post-Mode: "post"

"SET_MODE"

String

-

Optional

4

Hidden option

 • Hidden: true

 • Not Hidden: false

"SET_HIDDEN"

Boolean

false

Optional

5

Image Height’s Pixel Size

"HEIGHT"

Integer

-

Optional

6

Image Width’s Pixel Size

"WIDTH"

Integer

-

Optional

7

Viewpoint

"ANGLE"

Object

-

Optional

8

Active

"ACTIVE"

Object

-

Optional

9

Display

"DISPLAY"

Object

-

Optional

10

Perspective

"PERSPECTIVE"

Boolean

false

Optional

11

Zoom Level

 • Zoom Out: 25 <= value < 100

 • Zoom Fit: 100

 • Zoom in: 100 < value < 200

"ZOOM_LEVEL"

Number

100

Optional

12

Background Color Top

"BGCOLOR_TOP"

Object

-

Optional

(1)

Red

"R"

Integer

-

Optional

(2)

Green

"G"

Integer

-

Optional

(3)

Blue

"B"

Integer

-

Optional

13

Background Color Bottom

"BGCOLOR_BOTTOM"

Object

-

Optional

(1)

Red

"R"

Integer

-

Optional

(2)

Green

"G"

Integer

-

Optional

(3)

Blue

"B"

Integer

-

Optional

14

Result Display

"RESULT_GRAPHIC"

Object

-

Optional



0
Was this article helpful?