nx_create_dimension
Creates an associative linear dimension with bilateral tolerance between two selected model edges in a drafting view, measuring horizontal, vertical, or parallel distance.
Instructions
Create an associative linear dimension with a bilateral tolerance.
Measures the distance between two model edges (selected by their 0-based index from nx_list_edges on the given body) inside the drafting view. Default tolerance is ±0.1 mm using the BilateralTwoLines style.
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": "nx_create_dimension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pos_x | No | ||
| pos_y | No | ||
| body_id | No | ||
| view_id | No | ||
| dim_name | No | MCP_DIMENSION | |
| measurement | No | horizontal | |
| lower_tolerance | No | ||
| upper_tolerance | No | ||
| first_edge_index | No | ||
| second_edge_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | success | |
| message | Yes |