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.
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_diameter_dimension"
}
}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 |