API Reference > presentation-common > PresentationRules > InstanceNodesOfSpecificClassesSpecification InstanceNodesOfSpecificClassesSpecification Interface Creates nodes for all instances of specified ECClasses. see More details Extends ChildNodeSpecificationBase DefaultGroupingPropertiesContainer Properties Name Type Description arePolymorphic undefined | boolean Should all InstanceNodesOfSpecificClassesSpecification.classes be handled polymorphically. classes MultiSchemaClassesSpecification | MultiSchemaClassesSpecification[] Specifications of ECClasses whose instances should be returned. instanceFilter undefined | string Condition for filtering instances of defined classes. specType InstanceNodesOfSpecificClasses Used for serializing to JSON. Inherited properties Name Type Inherited from Description doNotSort undefined | boolean ChildNodeSpecificationBase Set this flag to true to suppress default sorting of ECInstances returned by this specification. groupByClass undefined | boolean DefaultGroupingPropertiesContainer Group instances by ECClass. groupByLabel undefined | boolean DefaultGroupingPropertiesContainer Group instances by label. hasChildren "Always" | "Never" | "Unknown" ChildNodeSpecificationBase This tells the rules engine that nodes produced using this hideExpression undefined | string ChildNodeSpecificationBase An ECExpression which hideIfNoChildren undefined | boolean ChildNodeSpecificationBase Hide nodes if they don't have children. hideNodesInHierarchy undefined | boolean ChildNodeSpecificationBase Hide instance nodes provided by this specification and directly show nodes of its children. nestedRules undefined | ChildNodeRule[] ChildNodeSpecificationBase Nested rule specifications. priority undefined | number ChildNodeSpecificationBase Defines the order in which specifications are evaluated and executed. relatedInstances undefined | RelatedInstanceSpecification[] ChildNodeSpecificationBase Specifications of related instances that can be used in nodes' creation. suppressSimilarAncestorsCheck undefined | boolean ChildNodeSpecificationBase Suppress similar ancestor nodes' checking when creating nodes based on this specification. Defined in presentation/common/src/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.ts Line 18 Last Updated: 11 June, 2024