Default BIS presentation rules
iTwin.js delivers a supplemental presentation ruleset that gets automatically merged into all presentation rulesets that support BisCore ECSchema. The ruleset provides default behavior for various BIS types: Elements, Models, etc.
Label overrides
Label override rules are used when we calculate ECInstance display labels for trees, property grid and other components. Below is the algorithm for calculating the labels.
- For
BisCore:GeometricElementand it's subclasses:- Use
CodeValue. If empty, go to #2. - Use
UserLabel [base36(briefcase id)-base36(local id)]. IfUserLabelempty, go to #3. - Use
ECClassLabel [base36(briefcase id)-base36(local id)].
- Use
- For all other
BisCore:Elementsubclasses:- Use
UserLabel. If empty, go to #2. - Use
CodeValue. If empty, go to #3. - Use
ECClassLabel [base36(briefcase id)-base36(local id)].
- Use
- For all
BisCore:Modelsubclasses:- Use modeled
Element's label (calculated using the above)
- Use modeled
briefcase id and local id are calculated from Element's id:
briefcase id = element id >> 40local id = element id & (1 << 40 - 1)
Content modifiers
Content modifier rules are applied when creating content for property grid, table and similar components. Each modifier is applied on specific types of ECInstances.
BisCore:Element
- Append properties
- of all related
BisCore:ElementUniqueAspects throughBisCore:ElementOwnsUniqueAspectforward relationship - of all related
BisCore:ElementMultiAspects throughBisCore:ElementOwnsMultiAspectsforward relationship - of all related
BisCore:LinkElements throughBisCore:ElementHasLinksforward relationship - of all related
BisCore:GroupInformationElements throughBisCore:ElementGroupsMembersbackward relationship- and their related
BisCore:LinkElements throughBisCore:ElementHasLinksforward relationship
- and their related
- 'Identifier' as 'Source Element ID' of related
BisCore:ExternalSourceAspectthroughBisCore:ElementOwnsMultiAspectsforward relationship into the 'Source File Information' category - 'Url' as 'Source File Path' and 'UserLabel' as 'Source File Name' of related
BisCore:RepositoryLinkthroughBisCore:ModelContainsElements->BisCore:Model->BisCore:ModelModelsElement->BisCore:PhysicalPartition | BisCore:Drawing->BisCore:ElementHasLinkspath.
- of all related
BisCore:PhysicalElement
- Append properties
- of all related
BisCore:PhysicalTypes throughBisCore:PhysicalElementIsOfTypeforward relationship
- of all related
BisCore:SpatialLocationElement
- Append properties
- of all related
BisCore:SpatialLocationTypes throughBisCore:SpatialLocationIsOfTypeforward relationship
- of all related
BisCore:DrawingGraphic
- Append properties
- of all related
BisCore:Elements throughBisCore:DrawingGraphicRepresentsElementforward relationship
- of all related
BisCore:GraphicalElement3d
- Append properties
- of all related
BisCore:Elements throughBisCore:GraphicalElement3dRepresentsElementforward relationship
- of all related
BisCore:PhysicalType
- Hide all properties (excluding subclass properties)
BisCore:SpatialLocationType
- Hide all properties (excluding subclass properties)
BisCore:LinkElement
- Hide
CodeValueandUserLabelproperties
BisCore:UrlLink
- Hide
Descriptionproperty
BisCore:EmbeddedFileLink
- Hide
Descriptionproperty
Last Updated: 11 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.