I have an issue with this not sure what because it works one way but not back...
I have two composite constraints on the same part one gets suppressed when option is true and changes to the other if false.
True puts sprocket in center (iComposite:6) false moves sprocket to iComposite:5 or it should but error.
It works one way but not the other way. If I pick true it works if I pick false it fails..
Any idea?
Here is code and error.
If Sprocket_Center = True Then Parameter("Master Drive:1", "Sprocket_Center") = True Constraint.IsActive("iComposite:5") = False Constraint.IsActive("iComposite:6") = True Else Parameter("Master Drive:1", "Sprocket_Center") = False Constraint.IsActive("iComposite:5") = True Constraint.IsActive("iComposite:6") = False End If
Thanks For your help..
Solved! Go to Solution.
Solved by jletcher. Go to Solution.
Ok I figured it out I had to change the Else part
I had to move line with iComposite:5 below iComposite:6
Now it works