civil3d_command
Execute any native Civil 3D or AutoCAD command string, such as CREATECORRIDOR or EXPORTLANDXML, for operations not easily accomplished via the C# API.
Instructions
Execute a native Civil 3D or AutoCAD command string (same as typing in the command line). Use for operations not easily done via C# API: CREATECORRIDOR, EXPORTLANDXML, etc. Prefer civil3d_execute/civil3d_query when the C# API is sufficient.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command string to execute, e.g. 'REGEN', 'CREATECORRIDOR', 'AeccCreateSurfaceGridFromDem' | |
| confirmed | No | Set true to confirm destructive commands (ERASE, PURGE, etc.) | |
| timeoutMs | No | Max wait time in ms when waitForCompletion is true (default: 300000) | |
| description | No | Brief description for logging | |
| waitForCompletion | No | Wait until the command finishes (default: true) |