Une image contenant texte, signe

Description générée automatiquement

Context Pattern Editor – Metaclass Constraint

 

Metaclass Constraint

Syntax:

.metaclass (string)

This constraint causes the token to match only those elements that match the specified metaclass and is commonly used to constraint relationships.

 

For example:

Block,{req}Dependency:.metaclass(Requirement)

Returns dependencies of Blocks but only if they point at Requirements.

 

Editing a Metaclass Constraint

In the Context Pattern Editor, if the Constraint Type is set to Metaclass, then the Constraint field is a combo box of Metaclasses:

A screenshot of a computer

Description automatically generated

In addition, you may click Open Constraint Picker to open a filterable picker (however it does not make sense to select multiple elements since this constraint only allows a single value):

A screenshot of a computer

Description automatically generated