I have an assembly model with multiple configurations. I use equations to suppress some parts according to a defined conditions.How can i disable an equation in a certain configuration?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
In order to clarify my question I attach a simple example. In this example I have an assembly model with two parts (Base, Wall) and two configurations (AllPart, BaseOnly). I have also two additional instances of part (Wall).
In the first configuration (Allpart) I want to control the visibility of the Wall<2> and Wall<3> according to the width of the base and in the second configuration (BaseOnly) I want to suppress only the Walls, That's all.
One way to do it, add a second variable and use nested iif statement. That is in essence what I explained to do earlier.
Now it doesn't suppress the equations but it does what you want in the scenario described.
Activator is 1 in AllParts and 0 in OnlyBase. The WallTest is suppressed when ever Activator is 0.
"Activator" = 0
"Wall^Test<2>.Part" = IIF ( "Activator" = 0 , IIF ( "Base_width" < 1000 , "suppressed" , "unsuppressed" ) , "suppressed" )
"Wall^Test<3>.Part" = IIF ( "Activator" = 0 , IIF ( "Base_width" < 1500 , "suppressed" , "unsuppressed" ) , "suppressed" )
Elmar