Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Section Designer — write a section to CIVIL NX

section_write
Destructive

Use to write a designed section into the model, after section_preview. Writes a section into the open CIVIL NX model exactly as Section Designer's Write button does: VALUE/GEN, PSC/VALU or COMPOSITE-GEN with its computed properties (CIVIL keeps them as sent), in the model's units read at the time of writing, then reads it back and compares every value sent. id defaults to the model's next free section id. Refuses unconverged results. If the id is taken it writes nothing and says by what (and how many elements use it); replacing needs replaceExisting: true — DESTRUCTIVE, only with the user's agreement. Previews unless apply: true with confirmPlanHash. Before applying, show the user the drawing (section_preview) and the properties and get their go-ahead. section_write_undo reverses it. Same section input as section_preview.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "section": "<section>"
    },
    "name": "section_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoSection id; default = next free id in the model.
applyNoWrite to CIVIL NX. Only after the user approved the preview.
sectionYesThe section, read off the sketch. Axes: y across (positive right), z up, as seen in CIVIL's section dialog; put the origin anywhere convenient (e.g. bottom-left corner or soffit centre) — CIVIL's frame is applied on write.
confirmPlanHashNoplanHash from the approved preview; the write is refused if the plan differs.
replaceExistingNoDESTRUCTIVE: overwrite the section already at id (elements using it change stiffness). Only with the user's agreement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources