Preview one result or model table
preview_result_tableReads one table from the open CIVIL NX model the way the exporter's 'Preview this table' does and returns its first rows (default 20, max 200) with unit-labelled headers, any sub-tables (e.g. reaction totals) and the exact POST /post/TABLE Argument sent. Result tables are a quick sample (first 20 nodes/elements, 3 load cases, 2 stage steps) with an estimate of the full row count; model tables are read whole. When no loadCases are given it also lists the model's load-case names (loadCasesInModel). Read-only (GET /db and POST /post/TABLE only). Results need an analysed model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| dbKey | No | For db-custom: any /db/ key (e.g. MVHL, TDNA). | |
| parts | No | Beam tables: stations along each element (default PartI, PartJ). | |
| table | Yes | Table id from result_table_catalog (e.g. reaction-global, beam-force, displacement-global, plate-force-unit-local, db-node). A MIDAS TABLE_TYPE (BEAMFORCE) or DB key (NODE) is accepted too. | |
| title | No | ||
| units | No | Units MIDAS converts the results to (default kN, m). | |
| columns | No | Model tables: exact column names to keep (preview first to see them). | |
| records | No | Model tables: which record ids (filtered after the read). | |
| argument | No | For custom-table: the full POST /post/TABLE Argument object. | |
| decimals | No | Default 6. | |
| entities | No | ||
| loadCases | No | e.g. ["DL(ST)", "ULS(CB)", "ENV(CB:max)", "LM1(MV:max)"]. Omit for every case. | |
| sheetName | No | Excel sheet name (≤ 31 characters). | |
| tableType | No | For result-any: the MIDAS TABLE_TYPE. | |
| components | No | Columns, as listed for the table (e.g. Axial, Moment-y). Omit for the plugin's defaults; for 'all columns' tables omit for every column. | |
| nodeCenter | No | Plate tables: include the element centre. | |
| stageSteps | No | With constructionStage: e.g. ["CS1:001(first)", "CS3:002(last)"]. Omit for every saved step. | |
| nodeCorners | No | Plate tables: include the corner nodes (default true). | |
| averageNodal | No | ||
| numberFormat | No | Default Scientific. | |
| extraArgument | No | For 'all columns' tables: more POST /post/TABLE Argument keys (e.g. LOAD_CASE_NAMES, NODE_ELEMS, OPT_CS). | |
| userTableName | No | For user-defined-table-*: the saved Dynamic Report Table name. | |
| sectionPositions | No | Beam stress detail: e.g. ["Maximum"] or stress point numbers. | |
| constructionStage | No | Results of the construction stage analysis (adds Stage and Step columns). | |
| displacementOption | No | Displacement tables in construction stages. |