I have an AddIn in VB.NET, developed from the SolidWorks AddIn Template for Visual Studio (e.g., I'm not a full time programmer)
I have used the SolidWorks events built into the template, such as ActiveModelDocChangeNotify etc...
I want to register for a Drawing Doc event - DrawingActivateSheetPostNotify, and possibly a few others.
What I don't understand is how to set this up. The SolidWorks (application) events are all setup when the AddIn loads, because a SolidWorks object exists at that time - however a specific Drawing Doc does not obviously.
I speculate I need to listen for the ActiveDocChangeNotify, and if it's a Drawing Doc then setup the Event Handler - I just don't know exactly how to do that.
Hope this makes sense and thanks in advance for any assistance.
SolidworksApi macros