macro_export_vba
Export recorded SolidWorks macros to VBA code for custom automation. Converts macro recordings into editable VBA scripts.
Instructions
Export a recorded macro to VBA code
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": {
"macroId": "<macroId>"
},
"name": "macro_export_vba"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macroId | Yes |