NodeArtifactsRule Interface

Node artifacts rules are used to create and assign artifacts to specific nodes. The artifacts can be accessed when evaluating parent node's hideExpression to decide whether it should be hidden or not.

@see Node artifacts rule reference documentation page



Name Type Description
condition string | undefined Specifies an ECExpression that  
items [key: string]: string A map of ECExpressions whose evaluation results  
ruleType "NodeArtifacts" Used for serializing to JSON.  

Inherited properties

Name Type Inherited from Description
onlyIfNotHandled boolean | undefined RuleBase Tells the library that the rule should only be handled if no other rule of the same type was handled previously (based on rule
priority number | undefined RuleBase Defines the order in which rules are handled, higher number means the rule is handled first.
requiredSchemas RequiredSchemaSpecification[] | undefined RuleBase A list of ECSchema requirements that need to be met for the rule to be used.

Defined in

Last Updated: 20 July, 2024