Does anyone know where (or if it even exists) the default template for a SW macro resides? When you click Tools->Macro->New you end up with:
Dim swApp As Object Sub main() Set swApp = Application.SldWorks End Sub
Which is something, I guess, but something like 90% of macros I do start very similar, with getting the active doc, checking type, get selection manager, etc.
It'd be nice to be able to edit this default template to start from.
Yeah, I know I could save a base "template" macro, then every time I want a new macro I make a copy and edit it, but that's not as nice as having a template... Heck, that's why we have templates everywhere else. .