MarkupSheets2DApi
alpha
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Parameters
_api: BimApi
Returns MarkupSheets2DApi
Properties
staticreadonlymarkupSheetsLayer
Accessors
publicversion
Gets the current dto (data transfer object) version. This version represents the version of the layer API, this version will be assigned to every sheet collection that is saved via this api. If your local version is lower than the one saved to the layer API you will not be able to load the markups from that sheet collection.
Returns DtoVersion
Methods
publicgetOrLoadSheets
Load sheets from LayersApi.
Parameters
change: BimChangeBlob | BimChangeDwg
Change to load the sheets from.
observableFactory: () => Observable<MarkupLayerEvent2D>
Returns Promise<LayerFailure | MarkupSheet2DCollection>
Either the Layer or a LayerFailure. Use isFailure to check if the return value is a LayerFailure or a Layer.
publicunloadSheets
Unload sheets layer.
Parameters
change: BimChangeBlob | BimChangeDwg
The change to unload sheets from.
Returns boolean
True if the sheets layer was unloaded, otherwise false.
NOTE: This API is experimental, expect breaking changes in the future.