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

Hi @jamieking89 

First create the constraints and name them something like "Plate1_constraint" and "Plate2_constraint"

Add this rule to your assembly:

If Component.IsActive("Plate1:1") = True And Component.IsActive("Plate2:1") = False
	Constraint.IsActive("Plate2_constraint") = False
	Constraint.IsActive("Plate1_constraint") = True
ElseIf Component.IsActive("Plate1:1") = False And Component.IsActive("Plate2:1") = True
	Constraint.IsActive("Plate1_constraint") = False
	Constraint.IsActive("Plate2_constraint") = True
Else
	Constraint.IsActive("Plate1_constraint") = False
	Constraint.IsActive("Plate2_constraint") = False
End If
ThisDoc.Document.Rebuild
	
	

I named the rule ActiveConstraint.

Add a trigger for the rule on Component Suppression Change.

Constraints.PNG

Hope it helps :slightly_smiling_face: