Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

3rd party data storage API

Status
Not open for further replies.

Dynamism

Mechanical
Joined
Apr 1, 2007
Messages
8
Location
US
Anyone know at what point to get a reference to an AssemblyDoc in time to get the LoadFromStorageNotify event? I don't seem to be getting that event when I get the reference during the FileOpenNotify event, nor at any time after?

Thanks,

Jake.
 
You need to use the "Withevents" modifier when defining your variables for SW application and for parts, assemblies, and drawings.
 
Thanks. The question was more that the LoadFromStorageNotify event was being raised by Solidworks before I'd got the reference. It turns out that I need to grab the AssemblyDoc reference in the DocumentLoadNotify event... waiting for FileOpenNotify2 is too late.

J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top