List Model Dimensions
list_model_dimensionsLists every dimension in an open part or assembly with full name and value, optionally filtered by feature, so you can find the exact name needed to get or change it.
Instructions
List every dimension in the active part or assembly with its full name and value.
Use it to find a dimension in an existing model before changing it: each
full_name (e.g. "D1@Sketch1") is the name get_dimension and set_dimension
take. Each dimension is listed once, under the feature its full name names
after the @ (D1@Plane1 under Plane1, never also under a cut sketched on
that plane). Needs: an open part or assembly. Read-only. Returns: data, one
entry per dimension with full_name, feature, value (document units),
system_value (metres or radians) and read_only.
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": "list_model_dimensions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | No | Nothing is required: give `feature_name` to list the dimensions that feature owns, or omit it for every dimension. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||