Opt out a constraint in all relevant viewmodel

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

This page was edited 94 days ago on 06/17/2024. What links here

17 June 2024

16 June 2024

13 June 2024

  • curprev 09:1209:12, 13 June 2024Lars Olofsson talk contribs 352 bytes +352 Created page with "If you need to opt out a constraint in every viewmodel that mentions this constraint, you can use this EAL code. <syntaxhighlight> let constraint = Constraint.allInstances->select(c|c.Name = 'NameOfConstraint')->first in ( constraint.ConstrainedElement.Nesting.OwningSpan->forEach(span | span.OptOutConstraints.add(constraint)) ) </syntaxhighlight>" Tag: Visual edit