vba_create_drawing_views
Generate VBA macros to add drawing views such as standard, projected, or section views to SolidWorks drawings using specified model path and position.
Instructions
Generate VBA for creating drawing views
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": {
"viewType": "<viewType>",
"modelPath": "<modelPath>",
"position": "<position>"
},
"name": "vba_create_drawing_views"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viewType | Yes | ||
| modelPath | Yes | Path to model file | |
| viewOrientation | No | ||
| position | Yes | ||
| scale | No | View scale (e.g., 0.5 for 1:2) | |
| sectionLine | No | ||
| detailCircle | No |