The Run SOLIDWORKS Macro Generation Task will run a SOLIDWORKS Macro.
|(Name)||The unique name for this task.|
|Macro File Path||The absolute path to the SOLIDWORKS macro file, including the .swp file extension.|
|Module Name||The name of the module in the Macro file to run.|
|Sub Routine||The name of the sub routine in the specified module to run (default is Main).|
When this task is added the properties are both static and dynamic by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.
|Property Name||Example Rule||Example Result||Meaning|
|Macro File Path||"D:\SOLIDWORKSMacros\Chamfer.swp"||D:\SOLIDWORKSMacros\Chamfer.swp||Will run the macro Chamfer.swp that exists in the folder D:\SOLIDWORKSMacros.|
|Module Name||DriveWorks||DriveWorks||Will run the sub-routine from the module DriveWorks.|
|Sub Routine||Main||Main||Will run the sub-routine Main.|
Please see How To Create A Macro To Run On A SOLIDWORKS File for information on SOLIDWORKS Macros.