ETABS MCP
v0.3.2Agentic MCP server for CSI ETABS v22+: model, load, analyse, design and inspect structures.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
etabs_list_installations
List ETABS installations on this machine (v22+ are supported) and ETABS instances that are running now.
etabs_connect
Connect to ETABS. Other tools connect automatically with mode 'auto', so call this only to choose a specific instance or version, to drive several ETABS instances, or to recover after ETABS was closed. Launching ETABS takes 10-30 s.
| Parameter | Type | Description |
|---|---|---|
install_dir | ETABS program folder, overrides 'version'. | |
instance | string | Name for this connection. Use a new name (e.g. 'b') to drive a second ETABS alongside the first; it becomes the active instance. |
mode | string | attach = use a running ETABS; start = launch a new one; auto = attach if one is running, else start. |
pid | Attach to this ETABS process id (see etabs_list_installations). | |
reconnect | boolean | Drop the current connection first. |
version | ETABS major version to use, e.g. 22 or 23. Default: the running one, else the newest installed. | |
visible | boolean | Show the ETABS window when launching it. |
etabs_instances
List the ETABS instances this server drives, switch which one every other tool acts on, or remove one. Typical use: compare two design options side by side, or copy data from one model into another.
| Parameter | Type | Description |
|---|---|---|
action | string | |
close_etabs | boolean | 'remove' only: also exit that ETABS (needs confirm). |
confirm | boolean | |
name | Instance for 'use' or 'remove'. |
etabs_status
Connection and model status without connecting: whether ETABS is attached, its version, the open model file, present units, and whether the model is locked (has analysis results).
etabs_disconnect
Release the ETABS connection. ETABS keeps running unless close_etabs is true.
| Parameter | Type | Description |
|---|---|---|
close_etabs | boolean | Also exit the ETABS application. |
confirm | boolean | Required when closing ETABS without saving. |
save | boolean | Save the model before exiting (only with close_etabs). |
etabs_model_overview
One-call summary of the open model: file, version, units, lock state, object counts, stories, load patterns/cases/combinations, materials, sections and groups. Start every task with this.
etabs_new_model
Start a new model (replaces the open one). Lengths are in the chosen units.
| Parameter | Type | Description |
|---|---|---|
bottom_story_height | Number in the new model's units or e.g. '6 m'. | |
confirm | boolean | Required when the current model has objects: it is replaced without saving. |
grid_lines_x | integer | |
grid_lines_y | integer | |
number_of_stories | integer | |
spacing_x | Number in the new model's units or e.g. '6 m'. | |
spacing_y | Number in the new model's units or e.g. '6 m'. | |
template | string | blank = empty model; grid_only = grids + stories; steel_deck = grids, stories and a steel floor system. |
typical_story_height | Number in the new model's units or e.g. '6 m'. | |
units | string | Units for the new model. |
etabs_open_model
Open an existing ETABS model file (.EDB, or an importable .e2k text file). Replaces the open model.
| Parameter | Type | Description |
|---|---|---|
path * | string | Full path of an .EDB (or importable .e2k/.$et) file. |
confirm | boolean | Required when the current model has objects: it is closed without saving. |
etabs_save_model
Save the model. A new (untitled) model needs a path. Analysis also requires a saved model.
| Parameter | Type | Description |
|---|---|---|
path | Save as this .EDB path. Omit to save to the current file. |
etabs_set_units
Set the present units. All tool inputs and outputs use the present units.
| Parameter | Type | Description |
|---|---|---|
units * | string |
etabs_get_stories
Story table, top story first: name, elevation, height, master/similar settings.
etabs_set_stories
Redefine the story table. ETABS only accepts this on a model without objects on the affected stories.
| Parameter | Type | Description |
|---|---|---|
stories_bottom_up * | array | Stories from the lowest to the highest. |
base_elevation |
etabs_add_frames
Draw beams, columns and braces between two points (like Draw > Frame). Joints are created or merged automatically. Returns the ETABS names of the new frames, in input order; failures are listed per item.
| Parameter | Type | Description |
|---|---|---|
frames * | array | |
csys | string |
etabs_add_areas
Draw floors, slabs and walls from corner points (like Draw > Floor/Wall). Returns new area names.
| Parameter | Type | Description |
|---|---|---|
areas * | array | |
csys | string |
etabs_add_points
Add joints at coordinates (existing joints at the same location are reused).
| Parameter | Type | Description |
|---|---|---|
points * | array | |
csys | string |
etabs_list_objects
List frames, areas or points with their geometry (in present units), sections and stories. ETABS 'name' is the unique name used by every API call; 'label' is what the GUI shows per story.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
include_labels | boolean | Add the label and story of each object (one extra call per object). |
limit | integer | |
offset | integer | |
story | Only objects on this story. |
etabs_delete_objects
Delete frames, areas or points chosen by name, by group, or the current selection.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
confirm | boolean | Deleting cannot be undone through the API. Ask the user first. |
group | ||
names | ||
selected | boolean |
etabs_set_restraints
Assign supports (Assign > Joint > Restraints): fixed, pinned, roller or custom DOFs, to joints chosen by name, by elevation, by group, or the current selection.
| Parameter | Type | Description |
|---|---|---|
at_elevation | Apply to every joint at this Z, e.g. 0 or '0 m'. | |
dofs | [UX, UY, UZ, RX, RY, RZ] for 'custom'. | |
group | ||
points | Joint names. | |
restraint | string | Support type; 'custom' uses 'dofs'. |
selected | boolean | |
tolerance | number |
etabs_assign_section
Assign a frame section or an area property (Assign > Frame > Section / Shell > Property).
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
section * | string | Frame section or area (slab/deck/wall) property name. |
group | ||
names | ||
selected | boolean |
etabs_select
Change or read the selection, like clicking in the ETABS window. Many tools accept selected=true to act on it. Returns the selected objects grouped by type.
| Parameter | Type | Description |
|---|---|---|
action | string | 'get' only reports the selection; 'objects' selects 'names' of 'kind'. |
deselect | boolean | |
group | ||
kind | ||
names |
etabs_generate_building
Build a complete regular building in one call: grids, stories, materials, sections, columns, beams, braces or shear walls (with pier labels), slabs, fixed supports, a rigid diaphragm, SDL/LL patterns with slab loads, and default design combinations. Follow with lateral loads (etabs_define_seismic_load ...), then analysis.
| Parameter | Type | Description |
|---|---|---|
bays_x * | array | Bay widths along X, e.g. ['8 m', '8 m', '6 m']. |
bays_y * | array | Bay widths along Y. |
story_heights * | array | Story heights bottom-up, e.g. ['4.5 m', '3.5 m', '3.5 m']. |
beam_section | Steel: AISC16 shape (default W18X35). | |
beam_size | array | Concrete beam [depth, width]. |
brace_section | Steel braced: AISC16 shape (default W10X33). | |
column_section | Steel: AISC16 shape (default W14X90). Concrete: ignored, use column_size. | |
column_size | array | Concrete column [depth, width]. |
confirm | boolean | Required when the open model has objects: it is replaced. |
diaphragm | boolean | |
live | Live area load in present force/length² units. | |
slab_thickness | ||
superimposed_dead | SDL area load in present force/length² units (e.g. 1.5 for kN/m²). | |
system | string | Lateral system. Braces/walls go in the end bays of every perimeter frame line. |
units | string | |
wall_thickness |
etabs_list_properties
List materials (with type), frame sections (with shape and dimensions in present units) and area properties (slabs, decks, walls).
| Parameter | Type | Description |
|---|---|---|
kind | string |
etabs_define_material
Define a material, either from the ETABS library (region + standard + grade, the same lists as the 'Add Material' dialog) or as a custom isotropic material from E, weight and strength.
| Parameter | Type | Description |
|---|---|---|
material_type * | string | |
name * | string | |
elastic_modulus | Custom material: E (present force/length^2). | |
fc | Concrete compressive strength f'c. | |
fu | Steel/rebar tensile strength (default 1.25 fy). | |
fy | Steel/rebar yield strength. | |
grade | Library material: grade, e.g. 'Grade 50', 'C30/37'. | |
poisson_ratio | number | |
region | Library material: region, e.g. 'United States', 'Europe', 'India'. | |
standard | Library material: standard, e.g. 'ASTM A992', 'EN 1992-1-1'. | |
thermal_coefficient | number | |
unit_weight | Weight per unit volume (present units). |
etabs_define_frame_section
Define a frame section: parametric concrete/steel shapes, or a steel shape imported from an ETABS section library. Dimensions are in present length units.
| Parameter | Type | Description |
|---|---|---|
material * | string | Material name (see etabs_list_properties). |
name * | string | |
shape * | string | |
bottom_flange_thickness | i_section only; defaults to flange_thickness. | |
bottom_flange_width | i_section only; defaults to width. | |
depth | t3: overall depth (rectangle, i_section, tube) or outside diameter (circle, pipe). | |
flange_thickness | ||
library_file | from_library: section database file, e.g. 'AISC16.xml', 'Euro.xml', 'Indian.xml'. | |
library_section | from_library: section name in that file, e.g. 'W14X90'. | |
web_thickness | Web thickness (i_section, tube) or wall thickness (pipe). | |
width | t2: width (rectangle, tube) or top flange width (i_section). |
etabs_define_area_section
Define a slab or wall property (Define > Section Properties > Slab/Wall Sections).
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
material * | string | |
name * | string | |
thickness * | Number in present units or e.g. '200 mm'. | |
shell_type | string | |
slab_type | string |
etabs_define_load_patterns
Define load patterns (Define > Load Patterns), each optionally with its linear static load case.
| Parameter | Type | Description |
|---|---|---|
patterns * | array |
etabs_assign_loads
Assign loads (Assign > Frame/Shell/Joint Loads): distributed or point loads on frames, uniform loads on areas, and forces/moments on joints. Values are in present units; 'gravity' acts downward (-Z).
| Parameter | Type | Description |
|---|---|---|
loads * | array |
etabs_define_combinations
Define load combinations (Define > Load Combinations) from load cases and other combinations, and/or generate the default design combinations for the active design codes.
| Parameter | Type | Description |
|---|---|---|
add_default_design_combos | array | Also generate the code default design combinations for these materials. |
combinations | array | Combinations to create. |
etabs_list_load_definitions
Load patterns (with type and self-weight multiplier), load cases (with type) and combinations (with their cases and scale factors).
etabs_define_seismic_load
Define an ASCE 7-16 equivalent-lateral-force seismic load pattern (Define > Load Patterns > Auto Lateral Load). Creates the Quake pattern and its load case.
| Parameter | Type | Description |
|---|---|---|
bottom_story | Default: Base. | |
cd | number | Deflection amplification Cd. |
ct_type | integer | Approximate-period Ct/x set (ETABS numbering, 2 = 0.03;0.75 'all other'). |
directions | array | Directions and accidental eccentricity sense. |
eccentricity | number | |
importance | number | |
name | string | |
omega | number | Overstrength factor Ω0. |
period | string | Fundamental period source. |
r | number | Response modification coefficient R. |
s1 | number | Mapped MCER 1-s acceleration S1 (g). |
site_class | string | |
ss | number | Mapped MCER short-period acceleration Ss (g). |
tl | number | Long-period transition TL (s). |
top_story | Default: the top story. | |
user_period | number |
etabs_define_wind_load
Define an automatic wind load pattern applied to diaphragms (Define > Load Patterns > Auto Lateral Load > Wind). ASCE 7-16 is fully parameterised; other codes take their table fields via 'fields'.
| Parameter | Type | Description |
|---|---|---|
angle | number | Wind direction angle in degrees (0 = +X, 90 = +Y). |
bottom_story | ||
cases | string | ASCE 7 wind load cases. |
code | string | Auto-wind table code suffix, e.g. 'ASCE 7-16', 'ASCE 7-22', 'Eurocode1 2005'. Other codes need 'fields'. |
exposure | string | |
fields | Extra/override table fields for the chosen code (see etabs_get_table on 'Load Pattern Definitions - Auto Wind - <code>'). | |
gust_factor | number | |
kd | number | |
kzt | number | |
leeward_cp | number | |
name | string | |
top_story | ||
wind_speed | number | Basic wind speed V (mph for ASCE 7). |
windward_cp | number |
etabs_define_response_spectrum
Define an ASCE 7-16 response spectrum function and a response-spectrum load case that uses it.
| Parameter | Type | Description |
|---|---|---|
case_name | string | |
damping | number | |
direction | string | |
eccentricity | number | |
function_name | string | |
importance | number | |
modal_case | string | |
r | number | |
s1 | number | |
scale_factor | Default g·I/R in present units (from importance and r). | |
site_class | string | |
ss | number | |
tl | number |
etabs_set_mass_source
Set the default mass source (Define > Mass Source): element self mass, added mass and load patterns.
| Parameter | Type | Description |
|---|---|---|
include_added_mass | boolean | |
include_self_weight | boolean | |
loads | Load patterns that contribute mass, e.g. [{'pattern':'SDL'}, {'pattern':'LL','multiplier':0.25}]. |
etabs_assign_diaphragm
Define a rigid or semi-rigid diaphragm and assign it to the slabs (area objects) on the chosen stories.
| Parameter | Type | Description |
|---|---|---|
name | string | |
semi_rigid | boolean | |
stories | Stories to assign (default: all with slabs). |
etabs_set_modal_case
Set how many modes the eigen modal case computes (raise it until mass participation is enough).
| Parameter | Type | Description |
|---|---|---|
case | string | |
max_modes | integer | |
min_modes | integer |
etabs_run_analysis
Run the analysis (Analyze > Run Analysis). ETABS needs a saved model, saves it again before running, and locks the model afterwards. Large models can take minutes: use background=true to avoid client timeouts.
| Parameter | Type | Description |
|---|---|---|
background | boolean | Return a job id at once and run in the background (for big models or clients with short tool timeouts). Follow with etabs_job_wait / etabs_job_status. |
cases | Load cases to run (default: all). | |
save_as | Save to this .EDB path first. Required for a never-saved model. |
etabs_analysis_status
Per-case analysis status (not run / finished ...), run flags, and whether the model is locked.
etabs_unlock_model
Unlock the model so it can be edited after analysis (the padlock button). Deletes analysis results.
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | Unlocking deletes all analysis and design results. Ask the user first. |
etabs_get_results
Read analysis results the way they appear in ETABS tables: base reactions, story drifts and forces, joint displacements/reactions, modal periods and mass ratios, element forces, piers and spandrels. For any other result table use etabs_get_table.
| Parameter | Type | Description |
|---|---|---|
result * | string | Which result table to read. |
group | string | |
limit | ||
load_cases | Load cases to include. Omit both lists for every case and combination. | |
load_combinations | ||
offset | integer | |
where | Row filter, e.g. {'Story': 'Story2'} or {'OutputCase': 'Dead'}. |
etabs_run_design
Run design (Design > ... > Start Design/Check) with the model's current design codes and preferences. Needs analysis results. Steel and concrete return a member summary, worst first.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Shear wall design cannot be started through the ETABS API; read its results with etabs_get_table. |
background | boolean | Run as a background job (see etabs_job_wait). |
summary_limit | integer | Members to return in the summary, worst first. |
etabs_job_status
Status of a background job (analysis or design): running / done / failed, elapsed time, the tail of the ETABS analysis log while it runs, and the full result once done. Never blocks.
| Parameter | Type | Description |
|---|---|---|
job_id | Job id; omit for the most recent job. |
etabs_job_wait
Wait for a background job to finish, up to timeout_seconds, then report it (same shape as etabs_job_status). Call again if it is still running.
| Parameter | Type | Description |
|---|---|---|
job_id | Job id; omit for the most recent job. | |
timeout_seconds | number | Give up waiting after this long (the job keeps running). Keep it under your client's tool timeout. |
etabs_get_design_summary
Design results per member: steel demand/capacity ratios with governing combo, or concrete required reinforcement for beams and columns. Worst members first.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
limit | integer | |
only_failing | boolean | Steel: only members with ratio > 1 or errors. |
etabs_design_codes
Read, list or change the design codes (Design > ... > View/Revise Preferences). 'list' returns every code this ETABS version supports for steel, concrete, shear wall, slab and composite design.
| Parameter | Type | Description |
|---|---|---|
action | string | |
code | For 'set': e.g. 'AISC 360-16', 'ACI 318-19', 'Eurocode 2-2004'. 'list' shows valid names. | |
kind | For 'set'. |
etabs_run_shear_wall_design
Run shear wall design (Design > Shear Wall Design > Start Design/Check) and return pier and spandrel results. The ETABS API has no call for this, so the server invokes the menu command through Windows UI Automation; ETABS must be visible. Walls must carry pier/spandrel labels (etabs_assign_label).
| Parameter | Type | Description |
|---|---|---|
limit | integer | Pier/spandrel rows to return, worst first. |
etabs_get_wall_design
Shear wall design results: piers (reinforcing ratio, D/C, boundary zones, messages) or spandrels (flexural and shear reinforcement), worst first. Run etabs_run_shear_wall_design first.
| Parameter | Type | Description |
|---|---|---|
kind | string | |
label | ||
limit | integer | |
story |
etabs_get_concrete_design
Concrete frame design results (after etabs_run_design(kind='concrete')): required longitudinal and shear reinforcement for beams, PMM ratios and areas for columns, joint shear and beam/column capacity ratios. Areas are in present units.
| Parameter | Type | Description |
|---|---|---|
element | string | |
envelope | boolean | One row per frame (governing station) instead of every station. |
limit | integer | |
names | Only these frames. |
etabs_get_slab_design
Concrete slab design results (after etabs_run_design(kind='concrete_slab')): design-strip flexure and shear reinforcement, or punching shear checks at columns, worst first.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
part | string |
etabs_dialogs
List or close dialogs ETABS has open. A modal dialog blocks the ETABS API, so close leftovers after etabs_menu or a design run.
| Parameter | Type | Description |
|---|---|---|
action | string | |
title | Close the dialog with this title ('close' with no title closes all). |
etabs_code_checks
Run the standard post-analysis checks in one call: story drift against the allowable, torsional irregularity, soft story, weight (mass) irregularity, modal mass participation and response-spectrum base shear vs ELF. Each check reports its clause, the governing numbers and pass/fail.
| Parameter | Type | Description |
|---|---|---|
cases | Lateral cases/combos to check (default: every Quake, Wind and RS case). | |
checks | Default: all. | |
drift_amplification | number | Cd/Ie applied to elastic drifts (1.0 for wind or drifts already amplified). |
drift_limit | number | Allowable story drift ratio Δa/h (ASCE 7-16 Table 12.12-1: 0.020 for most Risk Category I/II buildings). |
elf_case | ||
modal_case | string | |
modal_target | number | |
rs_case | ||
rs_direction | string | |
rs_target | number | |
soft_story_limits | array | [ratio to story above, ratio to average of 3 above]. |
torsion_limits | array | |
weight_limit | number |
etabs_scale_response_spectrum
Scale a response-spectrum case so its base shear reaches the ELF base shear (ASCE 7-16 12.9.1.4), then optionally re-run and verify.
| Parameter | Type | Description |
|---|---|---|
elf_case * | string | |
rs_case * | string | |
confirm | boolean | Scaling unlocks the model and deletes results. Ask the user first. |
direction | string | |
rerun | boolean | Re-run the analysis after scaling (the model is unlocked to edit the case). |
target | number | Fraction of the ELF base shear to reach (ASCE 7-16: 1.0). |
etabs_list_tables
List ETABS database tables (definitions, assignments, analysis and design results), with whether each has data and whether it can be edited. Result tables appear after analysis/design.
| Parameter | Type | Description |
|---|---|---|
contains | Case-insensitive filter on the table key, e.g. 'drift', 'frame assign', 'material'. | |
include_empty | boolean | Include tables with no data in the current model. |
etabs_get_table
Read any ETABS database table as rows (Display > Show Tables). Values with units are in present units.
| Parameter | Type | Description |
|---|---|---|
table_key * | string | Exact table key from etabs_list_tables, e.g. 'Story Drifts' or 'Frame Assignments - Section Properties'. |
fields | Only these field keys (default: all). | |
group | string | Only objects in this group ('' = all). |
limit | ||
load_cases | Result tables: load cases to show. Omit both lists for all cases and combinations. | |
load_combinations | ||
numeric | boolean | Convert fields that carry units to numbers. |
offset | integer | |
where | Keep rows whose fields equal these values, e.g. {'Story': 'Story3'}. |
etabs_edit_table
Edit a model table the way the Interactive Database editor does: read it, change/append/delete rows, then apply. Returns ETABS's import log with error and warning counts.
| Parameter | Type | Description |
|---|---|---|
table_key * | string | An editable table key (etabs_list_tables shows editable=true). |
append_rows | New rows (field key -> value); missing fields are left blank. | |
apply | boolean | Apply the edits to the model. False validates and cancels (dry run). |
delete_where | Remove rows matching any of these field filters. | |
group | string | |
replace_rows | Replace the entire table with these rows. | |
updates | Change fields on rows matching 'match'. |
etabs_screenshot
Take a screenshot of the ETABS window: the model views, selection and any open dialog, exactly what an engineer sees. Use it to check geometry, deformed shapes or design colours after other tools ran.
| Parameter | Type | Description |
|---|---|---|
capture | string | screen = what is on the monitor (brings ETABS forward for a moment, then restores focus); offscreen = never changes focus, but ETABS's GPU model views come out blank. |
max_width | integer | |
refresh | boolean | Refresh the model views first so recent API edits are drawn. |
zoom_to_fit | boolean | Zoom all views to the full model. |
etabs_show_window
Show or hide the ETABS application window. Hidden ETABS runs faster for batch work.
| Parameter | Type | Description |
|---|---|---|
visible | boolean |
etabs_refresh_view
Redraw the ETABS model views (and optionally zoom to fit) after model changes made through the API.
| Parameter | Type | Description |
|---|---|---|
zoom_to_fit | boolean |
etabs_render_view
Render the model offscreen from its data: any angle, deformed shape of any case, members coloured by design ratio, displacement, section or storey. Works with ETABS hidden and never takes focus. Use it to look at what you built and at results the ETABS window cannot be switched to through the API.
| Parameter | Type | Description |
|---|---|---|
azimuth | Override the camera azimuth in degrees. | |
color_by | string | design_ratio needs a design run; displacement needs deformed_case. |
deformed_case | Load case or combination whose deflected shape to draw. | |
deformed_scale | Displacement multiplier; omit for automatic (largest deflection ≈ 4% of the model height). | |
elevation | Override the camera elevation in degrees. | |
height | integer | |
highlight | Frame names to emphasise (e.g. from etabs_find_objects). | |
show_slabs | boolean | |
stories | Only draw these stories. | |
theme | string | |
view | string | |
width | integer |
etabs_find_objects
Find objects by engineering criteria: 'columns on Story3', 'beams longer than 8 m', 'members with D/C over 0.9', 'everything in this box'. Returns names usable by every other tool; can select them.
| Parameter | Type | Description |
|---|---|---|
box | Only objects whose centroid lies inside this box. | |
group | Only objects assigned to this group. | |
kind | string | |
limit | integer | |
max_length | ||
max_ratio | ||
min_length | Frames at least this long (number in present units or e.g. '8 m'). | |
min_ratio | Frames whose design D/C ≥ this (needs design results). | |
role | Frames only, from geometry. | |
sections | Frame sections or area properties. | |
select | boolean | Also select the matches in ETABS (clears the current selection). |
stories |
etabs_what_changed
What changed in the model since the last call (or since the baseline): objects added, removed or modified, sections/loads/combos/groups/stories added or removed, units, lock and file. Picks up edits the engineer made by hand in the ETABS window, so the agent can stay in sync. The first call records the baseline.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
reset | boolean | Only record a new baseline. |
etabs_checkpoint
Save the model and keep a copy as a named checkpoint (an undo point before risky edits). Restore it with etabs_restore_checkpoint. Needs a saved model.
| Parameter | Type | Description |
|---|---|---|
label * | string | Short name, e.g. 'before-resize'. |
etabs_list_checkpoints
Checkpoints saved for the open model, newest first.
etabs_restore_checkpoint
Roll the model back to a checkpoint. The model keeps its original file name.
| Parameter | Type | Description |
|---|---|---|
checkpoint * | string | Checkpoint file name or label from etabs_list_checkpoints. |
confirm | boolean | Restoring replaces the current model state. Ask the user first. |
etabs_export_model
Export the whole model as ETABS's .e2k text and return it (paged). One read gives the complete definition (stories, grids, materials, sections, objects, assignments, loads, cases), ideal for audits.
| Parameter | Type | Description |
|---|---|---|
max_chars | integer | |
offset | integer | Character offset into the file, for paging. |
path | Where to write the .e2k text file (default: next to the model). | |
sections | Only return these $-sections (prefix match), e.g. ['STORIES', 'FRAME ASSIGNS', 'LOAD PATTERNS']. |
etabs_design_report
Write an engineering summary in Markdown: model, loads, analysis status, base reactions, modal periods, drifts and the design check with the most critical members. Returns the text and the file.
| Parameter | Type | Description |
|---|---|---|
path | Write the Markdown here (default: <model>_report.md next to the model). | |
top | integer | Critical members to list. |
etabs_assign_label
Assign objects to a group, pier or spandrel label (created if missing), like Assign > ... in ETABS.
| Parameter | Type | Description |
|---|---|---|
label * | string | |
label_type * | string | Groups organise selection and output; piers/spandrels drive wall design and forces. |
group | Assign to every object already in this group. | |
names | ||
object_kind | string | |
remove | boolean | Groups only: remove the objects from the group instead. |
selected | boolean |
etabs_search_api
Search all ~1,300 ETABS API methods. Use this to find a method when no curated tool covers the task, then etabs_describe_api for its parameters and etabs_call_api to run it.
| Parameter | Type | Description |
|---|---|---|
query * | string | Words to match against method names, interface paths and parameter names, e.g. 'frame release' or 'story drift'. |
interface | Restrict to one interface, e.g. 'cFrameObj'. | |
limit | integer |
etabs_describe_api
Show a method's exact signature (types, ByRef outputs, defaults, enum values, safety level), or list an interface's methods and sub-interfaces, or an enum's values. Reflects the connected ETABS version.
| Parameter | Type | Description |
|---|---|---|
path * | string | A method path ('FrameObj.GetReleases'), an interface ('cFrameObj' or 'FrameObj') or an enum name ('eLoadPatternType'). |
etabs_call_api
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).
| Parameter | Type | Description |
|---|---|---|
path * | string | Method path relative to SapModel ('PointObj.SetRestraint'), or 'App.<method>' for the application object. |
args | Arguments by parameter name. Omit ByRef outputs; enums accept names or numbers; arrays are JSON lists. | |
confirm | boolean | Required for destructive methods (Delete*, New*, OpenFile, unlocking...). Ask the user first. |
max_items | Cap on returned array lengths. |
etabs_call_api_batch
Run several API calls in order in one round trip (for example, define and assign many properties). Each result is reported; with stop_on_error the batch halts at the first failure.
| Parameter | Type | Description |
|---|---|---|
calls * | array | |
confirm | boolean | Confirms every destructive call in the batch. |
stop_on_error | boolean | Stop at the first failed call. |