vba_assembly_components
Generate VBA macros to automate inserting, replacing, patterning, mirroring, exploding, or dissolving components in SolidWorks assemblies.
Instructions
Generate VBA for inserting and managing components
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": {
"operation": "<operation>"
},
"name": "vba_assembly_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| componentPath | No | Path to component file | |
| componentName | No | Component name in assembly | |
| configurationName | No | ||
| position | No | ||
| quantity | No | ||
| patternType | No | ||
| spacing | No | Spacing in mm |