convert_text_to_native_macro
Convert plain text VBA code into a SolidWorks macro file, adding initialization and type references for automation.
Instructions
Convert plain text VBA code to a properly initialized SolidWorks macro
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vbaCode | Yes | Plain text VBA code to convert | |
| outputPath | Yes | Path where the converted macro will be saved | |
| macroName | Yes | Name for the macro | |
| addInitialization | No | Add SolidWorks initialization code | |
| addReferences | No | Add required type library references |