- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I wrote a very simple code in the assembly to deactivate constraints based on a condition.
If incl_sca = 45 Then
Constraint.IsActive("Coincidente:389") = False
Constraint.IsActive("Coincidente:392") = True
Constraint.IsActive("Coincidente:390") = False
Constraint.IsActive("Coincidente:391") = True
Else
Constraint.IsActive("Coincidente:389") = True
Constraint.IsActive("Coincidente:392") = False
Constraint.IsActive("Coincidente:390") = True
Constraint.IsActive("Coincidente:391") = False
End If
I have already used the command several times and it has always worked.
I double-checked both the constraint names and incl_sca.
Now, however, when I run the rule, all the constraints remain active, creating invalid constraints and errors in the assembly. What can I do?
Solved! Go to Solution.