Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
mflayler
in reply to: Anonymous

If you have an existing part and drawing already created in the same workspace, I have some code that will do that for you.

 

Essentially it performs a Save Copy As for both the part and the drawing and then uses the Replace Model Reference to switch out the model reference in the drawing to the new file.  This code would not work if the drawing does not already exist.

 

Is that scenario acceptable?

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

Mark Flayler - Engagement Engineer

IMAGINiT Manufacturing Solutions Blog: https://resources.imaginit.com/manufacturing-solutions-blog