etabs_call_api
Call any ETABS API method by path; arguments are validated against the live signature, ByRef outputs are returned, and a non-zero return code means ETABS rejected the call.
Instructions
Call any ETABS API method. Arguments are validated and converted against the live signature; ByRef values come back in 'outputs'. A non-zero 'ret' means ETABS rejected the call (ok=false).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments by parameter name. Omit ByRef outputs; enums accept names or numbers; arrays are JSON lists. | |
| path | Yes | Method path relative to SapModel ('PointObj.SetRestraint'), or 'App.<method>' for the application object. | |
| confirm | No | Required for destructive methods (Delete*, New*, OpenFile, unlocking...). Ask the user first. | |
| max_items | No | Cap on returned array lengths. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||