Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Model to IFC — DXF drawings and 3D DXF

model_to_dxf
Read-only

Use to export the model as DXF drawings. To import a DXF use dxf_import. Draws the open CIVIL NX model as DXF with the Model to IFC plugin's drawing engine: a 2D drawing file (DXF 2000: plan, elevation developed along the deck, hidden-line isometric, section cuts with hatched faces and tendon ducts, and every section in use dimensioned) and a 3D DXF (one polyface mesh per element, layered by role, DXF 2000 or R12). Cuts are given in metres: {kind:'cross', at: chainage} across the deck, {kind:'long', at: offset left of the centreline}, {kind:'level', at: height}, with depth = how far beyond the cut to draw; none given = one across mid-span, cutsAtSupports adds one at each pier and abutment. Only reads the model; returns download links.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "model_to_dxf"
  }
}

Input Schema

NameRequiredDescriptionDefault
cutsNo
nameNoFile / model name (default: the model's project name).
unitsNoDrawing unit (dimensions); levels and chainages are labelled in m (ft for imperial).mm
viewsNoWhich 2D views (default all: plan, elevation, iso, cuts, sections).
hiddenNoHidden lines dashed in plan and elevation.
labelsNoChainages, labels and dimensions.
model3dNoAlso write the 3D DXF.
tendonsNoTendons drawn at their duct diameter.
format3dNoR12 is about half the size (Autodesk Viewer may show it empty).R2000
joinDeckNoJoin side-by-side girders' slab strips into one continuous deck.
wireframeNo3D: element centrelines and plate outlines on a non-plotting layer.
drawings2dNo
startStationNoChainage at the start of the deck, m.
separateSlabsNoA composite section's deck slab as its own slab.
cutsAtSupportsNo
max3dMegabytesNoSkip the 3D file (and say so) if it would be larger than this.
skipWeightlessNoLeave out weightless (dummy) members; cables, piles and members named NoSW are kept.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description reinforces this ("Only reads the model") while adding real behavioral detail: results come back as download links, the 3D file is skipped when it would exceed max3dMegabytes (and the agent is told), R12 output may render empty in Autodesk Viewer, and the default cut behavior when no cuts are supplied.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the sibling alternative are front-loaded in the first two sentences, followed by a compact inventory of outputs and then cut syntax. The sentences are dense with parenthetical detail but each clause carries operational information; nothing is padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 17-parameter export tool with no output schema, the definition covers the hard parts: what is generated, cut specification, unit labeling, size guard, and the fact that the return value is download links. It does not describe link structure or lifetime, which is a minor residual gap given no output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 82% schema coverage the schema carries most parameters, but the description supplies the crucial semantics the schema omits for cuts: the {kind, at, depth} object shape, the unit (metres), what each kind cuts across, and the default of one mid-span cut with cutsAtSupports adding pier/abutment cuts. A few flags (notably drawings2d) remain unexplained in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states a specific verb and resource ("export the model as DXF drawings") and the body enumerates exactly what is produced: a 2D DXF with plan, elevation, iso, cuts and sections, plus a 3D polyface DXF. The named counterpart dxf_import makes the direction of the operation unambiguous against the closest sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes the agent away from the inverse operation ("To import a DXF use dxf_import") and states the precondition that the model must be open in CIVIL NX. It gives no guidance on choosing between this and the other export sibling (model_to_ifc) or on when an export is unnecessary, so it falls short of full when/when-not coverage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources