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 don't think i understand exactly what you want to do here, 

 

dim oDoc as DrawingDocument
oDoc
.ReferencedDocuments

This is what i've put in, but now i'm pointing at all referenced documents.

 

how do i loop through them and replace them with the correct part reference?

as mentioned, the assembly does not need to replace its reference, since it's already referring to the newly created assembly file(same goes for the parts within it) however the assembly parts placed individually (1 for each sheet) does not have the updated reference, so these are the ones we need to update reference on