nx_create_diameter_dimension
Creates a diameter dimension on a cylindrical or circular edge in Siemens NX, so shaft features can be annotated where edge-to-edge linear dimensions cannot express diameter.
Instructions
Create a DIAMETER dimension on one edge (essential for shafts).
A linear dimension between two edges cannot express a diameter; use this for cylindrical/circular features. edge_index is the 0-based index from nx_list_edges on the given body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pos_x | No | ||
| pos_y | No | ||
| body_id | No | ||
| view_id | No | ||
| dim_name | No | MCP_DIAMETER | |
| edge_index | No | ||
| lower_tolerance | No | ||
| upper_tolerance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | success | |
| message | Yes |