SpatialLocationModelState Class

Represents the front-end state of a SpatialLocationModel.

Extends

Implements

Methods

Name Description
constructor(props: ModelProps, iModel: IModelConnection, state?: SpatialModelState): SpatialLocationModelState    

Inherited methods

Name Inherited from Description
clone(iModel?: IModelConnection): this EntityState Make an independent copy of this EntityState
equals(other: this): boolean EntityState Return true if this EntityState is equal to another one.
toJSON(): ModelProps ModelState Add all custom-handled properties of a Model to a json object.

Inherited properties

Name Type Inherited from Description
asGeometricModel2d Accessor ReadOnly GeometricModel2dState | undefined ModelState Attempts to cast this model to a 2d geometric model.
classFullName Accessor StaticReadOnly string EntityState Get full BIS class name of this Entity in the form "SchemaName:ClassName".
classFullName string EntityState The full class name in the form "schema:class".
classifiers undefined | SpatialClassifiers SpatialModelState If this is a reality model, provides access to a list of available spatial classifiers that can be applied to it.
className Accessor ReadOnly string EntityState The name of the BIS class associated with this class.
id Id64String EntityState The Id of this Entity.
iModel IModelConnection EntityState The iModel from which this Entity was loaded
is2d Accessor ReadOnly boolean GeometricModelState Returns true if this is a 2d model (a GeometricModel2dState).
isPrivate boolean ModelState  
isTemplate boolean ModelState  
jsonProperties [key: string]: any EntityState Optional json properties of this Entity.
modeledElement RelatedElement ModelState  
name string ModelState  
parentModel Id64String ModelState  
schemaName Accessor StaticReadOnly string EntityState The name of the BIS schema for this class.

Defined in

Last Updated: 20 September, 2019