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.
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 |