Measure Entities
measure_entitiesMeasure faces, edges, or vertices in the active SolidWorks model to check feature size or position, including area, perimeter, length, radius, and distance or angle between two entities.
Instructions
Measure faces, edges or vertices of the active model with SolidWorks' Measure tool.
One face gives area and perimeter; one edge its length, and radius and diameter
for an arc; two entities give the distance and angle between them. Use it to
check a feature's size or position; for the whole model, use verify_model.
Needs: an open part or assembly. Read-only. It clears the selection afterwards.
Returns: data with selected and the values in metres, square metres and
radians (distance_m, angle_rad, length_m, radius_m, diameter_m,
area_m2, perimeter_m; for two entities is_parallel).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_data": "<input_data>"
},
"name": "measure_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | What to measure. `entities` (one or two) is required, each "face:x,y,z", "edge:x,y,z", "vertex:x,y,z" (a point on it, in metres) or a name like "Edge<1>". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||