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

OK, so I ended up running into some issues in my overall model where the sub assemblies are placed-

Similar assemblies share some parts (small purchased parts such as clips that are the same regardless of where they are used) and they get into a cyclical Rebuild/Update/Save loop where it won't allow me to check in my overall because one sub-assembly will rebuild, making it so the other needs to be updated because of the shared parts, and so on.

 

So I am taking a different approach that should work but I can't figure out why it wont.

If Assembly_Length <> Assembly_Length

	ThisDoc.Document.Rebuild()
	
End If

 

This code SHOULD rebuild if the parameter "Assembly_Length" changes, correct? I have a skeleton .ipt linked to the assembly, and this Assembly_Length is pulling the Length from the .ipt, so when I update the length of the skeleton and return to the Assembly, the Assembly_Length will change and the rebuild code should trigger. 

 

I can't figure out why this isn't working!! It seems so simple.