IModelDisplayReference2d Interface @beta
A reference to a drawing or sheet model.
Extends
Inherited methods
| Name | Inherited from | Description |
|---|---|---|
| changeCategoryDisplay(args: ChangeCategoryDisplayArgs): void Inherited | IModelDisplayReference | Modify the visibility of categories displayed by this reference. |
| changeSubCategoryDisplay(id: string, visible: boolean): boolean Inherited | IModelDisplayReference | Changes the visibility of geometry belonging to the specified SubCategory, preserving any other aspects |
| getSubCategoryAppearance(id: string): SubCategoryAppearance Inherited | IModelDisplayReference | Returns a description of how geometry belonging to the specified SubCategory appears when displayed through this reference. |
| invalidateSymbologyOverrides(): void Inherited | IModelDisplayReference | Marks this reference's symbology overrides as out of date so that they can be recalculated from its |
| isSubCategoryVisible(id: string): boolean Inherited | IModelDisplayReference | Returns true if geometry belonging to the specified SubCategory is visible when displaying this reference, |
Properties
| Name | Type | Description | |
|---|---|---|---|
| parent Readonly | IModelDisplayReferences2d | The collection of iModel references to which this reference belongs. | |
| viewedModel Readonly | string | The Id of the GeometricModel2d displayed by this reference. |
Inherited properties
| Name | Type | Inherited from | Description |
|---|---|---|---|
| activeClipStyle Readonly Inherited | ClipStyle | IModelDisplayReference | Returns the clip style that applies to this reference, which may differ from that applied to the |
| activeViewFlags Readonly Inherited | ViewFlags | IModelDisplayReference | Returns the view flags that apply to this reference, which may differ from those applied to the |
| alwaysDrawnElements Readonly Inherited | ObservableSet<string> | IModelDisplayReference | Elements which should always be rendered by this reference, regardless of category and subcategory visibility. |
| featureOverrideProviders Readonly Inherited | ObservableSet<IModelDisplayReferenceFeatureOverrideProvider> | IModelDisplayReference | App-supplied providers that apply symbology overrides when displaying this reference. |
| guid Readonly Inherited | string | IModelDisplayReference | A unique identifier automatically assigned upon construction. |
| iModel Readonly Inherited | IModelConnection | IModelDisplayReference | The iModel displayed by this reference. |
| is2d Readonly Inherited | () => this is IModelDisplayReference2d | IModelDisplayReference | Permits applications to distinguish between spatial and 2d references. |
| isAlwaysDrawnExclusive Inherited | boolean | IModelDisplayReference | If true, the elements in alwaysDrawnElements are the only elements displayed by this reference. |
| isLoadingComplete Readonly Inherited | boolean | IModelDisplayReference | Returns true if all of the data (e.g., TileTrees) needed to display this reference has been loaded. |
| isSpatial Readonly Inherited | () => this is SpatialIModelDisplayReference | IModelDisplayReference | Permits applications to distinguish between spatial and 2d references. |
| linearTransformToParent Readonly Inherited | Transform | IModelDisplayReference | A transform from the coordinate system of this iModel to that of the view's primary iModel. |
| modelAppearanceOverrides Readonly Inherited | ObservableMap<string, FeatureAppearance> | IModelDisplayReference | Overrides the appearance of specific models. |
| modelDisplayTransformProvider Inherited | ModelDisplayTransformProvider | undefined | IModelDisplayReference | Applies a ModelDisplayTransform to model(s) displayed by this reference. |
| neverDrawnElements Readonly Inherited | ObservableSet<string> | IModelDisplayReference | |
| onActiveClipStyleChanged Readonly Inherited | BeEvent<() => void> | IModelDisplayReference | Event dispatched just after activeClipStyle changes. |
| onActiveViewFlagsChanged Readonly Inherited | BeEvent<() => void> | IModelDisplayReference | Event dispatched just after activeViewFlags changes. |
| onIsAlwaysDrawnExclusiveChanged Readonly Inherited | BeEvent<() => void> | IModelDisplayReference | Event dispatched when the value of isAlwaysDrawnExclusive changes. |
| onModelDisplayTransformProviderChanged Readonly Inherited | BeEvent<() => void> | IModelDisplayReference | Event dispatched immediately after assignment to modelDisplayTransformProvider. |
| onSymbologyOverridesInvalidated Readonly Inherited | BeEvent<() => void> | IModelDisplayReference | Event dispatched by invalidateSymbologyOverrides. |
| onViewedCategoriesLoaded Readonly Inherited | BeEvent<() => void> | IModelDisplayReference | Event dispatched when any asynchronous loading of categories initiated by a change to viewedCategories completes. |
| overrides Readonly Inherited | IModelDisplayOverrides | IModelDisplayReference | Overrides aspects of the view's display style when displaying this reference. |
| perModelCategoryVisibility Readonly Inherited | PerModelCategoryVisibility.Overrides | IModelDisplayReference | Allows visibility of categories within this viewport to be overridden on a per-model basis. |
| subCategoryOverrides Readonly Inherited | ObservableMap<string, SubCategoryOverride> | IModelDisplayReference | Overrides the appearance of specific subcategories. |
| tileTreeRefs Readonly Inherited | Iterable<TileTreeReference> | IModelDisplayReference | The set of tile trees displayed through this reference. |
| viewedCategories Readonly Inherited | ObservableSet<string> | IModelDisplayReference | The set of categories that are visible when displaying this reference. |
Defined in
Last Updated: 26 November, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.