etabs_call_api
Call any ETABS API method not available in other tools by providing the interface path and method name.
Instructions
Call ANY method in the ETABS API that isn't covered by other tools.
This is a powerful escape hatch to access all 1,300+ methods in the API.
Examples:
interface_path="FrameObj", method_name="GetLabelFromName", arguments=["F1", "", ""]
interface_path="Results.Setup", method_name="GetCaseSelectedForOutput", arguments=["DEAD", False]
interface_path="", method_name="GetModelFilename", arguments=[] (uses SapModel directly)
Args: interface_path: Dot-separated path to the interface relative to SapModel. Leave empty string to call methods directly on SapModel. method_name: Name of the method to call. arguments: List of arguments to pass to the method. COM 'ref' and 'out' parameters must still be provided (usually as dummy values or empty arrays).
Returns: JSON representation of the COM method's raw return tuple. Typically the first element is the return code (0 = success).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface_path | Yes | ||
| method_name | Yes | ||
| arguments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |