I'm new to programming. I tried searching for this in SolidWorks specific terms and more broad VBA terms, but I couldn't find an answer.
I understand swApp is arbitrary and could be anything. This also goes for swModel, swAssy, ect...
I've noticed Excel macros are the same way. excelApp = Application.Excel
What are the reasons behind setting swApp = Application.SldWorks and using swApp throughout a macro instead of just typing Application.SldWorks when necessary?
Thanks for the information.