×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

3rd party data storage API

3rd party data storage API

3rd party data storage API

(OP)
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.

RE: 3rd party data storage API

You need to use the "Withevents" modifier when defining your variables for SW application and for parts, assemblies, and drawings.

RE: 3rd party data storage API

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources