Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Eyal.Admon
418 Views, 2 Replies

Open unsaved document (VB.net/VBA)

Hi,

 

TRLD: How can i open a part that was ceated in an assembly bebore saving it?

 

when i create a new part in an assembly with the create button, the file is not created untill i save the part for the first time, so using " oDoc = thisapplication.Documents.open(file path) " won't work since no path exists.

Using the right click button, i can open the part and edit it. how can i open it using VBA/VB.net code?

 

Thanks