vba_drawing_dimensions
Automate addition of dimensions to SolidWorks drawing views using VBA macros. Supports linear, angular, radial, diameter, ordinate, chamfer, arc length, and coordinate dimensions with customizable tolerance, prefix, and suffix.
Instructions
Generate VBA for adding dimensions to drawings
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": {
"dimensionType": "<dimensionType>",
"position": "<position>"
},
"name": "vba_drawing_dimensions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dimensionType | Yes | ||
| viewName | No | Name of the view | |
| entities | No | ||
| position | Yes | ||
| tolerance | No | ||
| prefix | No | ||
| suffix | No |