Opt out a constraint in all relevant viewmodel
m ((username removed) (log details removed))
(Added Edited template with July 12, 2025.)
 
Line 1: Line 1:
{{Edited|July|12|2025}}
<message>Write the content here to display this box</message>
<message>Write the content here to display this box</message>
If you need to opt out a constraint in every viewmodel that mentions this constraint, you can use this EAL code.
If you need to opt out a constraint in every viewmodel that mentions this constraint, you can use this EAL code.

Latest revision as of 06:34, 20 January 2025


If you need to opt out a constraint in every viewmodel that mentions this constraint, you can use this EAL code.

let constraint = Constraint.allInstances->select(c|c.Name = 'NameOfConstraint')->first in
(
  constraint.ConstrainedElement.Nesting.OwningSpan->forEach(span | span.OptOutConstraints.add(constraint))
)
This page was edited 55 days ago on 01/20/2025. What links here