How to automatically run macro on model open (without add-in)

Hi,

In this blog post: Automatically Run Macro On Model Open I explain two ways and provide source code to automatically run VBA code when model is opened

  • Using Events
  • Using Macro Feature

In both cases it is not requried to create add-in or install any additional software.

Thanks,
Artem

SolidworksApi/macros