VBA Macro Files and Macro Features
Macro features that use VBA macros to define the macro
feature functions must reside in SolidWorks VBA macro files (*.swp).
Each function:
For example:
Function swmRegen(app As Variant, part As
Variant, feature As Variant) As Variant