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

I was thinking a bit about the issue, and since the initial parts are the actual part files on the sheet, which doesn't have the updated assembly reference.

this means it will be hard for the API to know which component i'm pointing at. 

 

my thought was that i could have a rule called "replace" within each part file.

then have the assembly write to a parameter within the part file, which states the location of the "3D" folder.

once the parameter is set, then have the assembly do a runrule within the part, which then does all the copying/ replacing. I don't know if this would work though. I already have all the parts copied to the "3D" folder, its just a matter of getting the reference within the actual drawing(.dwg) to update the reference to the part files which are already copied. 

 

idk if this would work, but thought i'd ask real quick, since it gets a bit complicated for me when it reaches this level

 

 

Another way could also look like this:

Have only the sheet showing the assembly file, the rest of the sheets will be deleted.

 

then just have a rule which looks at the path for the newly created individual parts, create a sheet and place the part in the sheet, loop through all the parts in the assembly save location, and for each part it will create a sheet where it adds the necessary views, this way i won't even be needing to update the other model references