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

To clarify, I'm in the part environment to change the part.  In the assembly, I'm using that code to drive the parameters in the assembly but it doesn't update immediately.

Dim model As String = ThisDoc.Document.DisplayName & ".ipt"
Try
	radius = Parameter(model, "radius")
	ReverseInt = Parameter(model, "ReverseInt")
Catch
	MessageBox.Show("Model name does not match the assembly name","Z-Rib Placement Error")
	Return
End Try

This code won't update the parameters when I change the part file unless I return to the assembly and run the rule again.  I'm looking for a way to update this when the part updates.