Skip to main content

BimChangeLayerData

Information required to create a layer, see BimCoreApi.layers and LayerApi.

Index

Properties

optionalreadonlydata

data?: unknown

Optional layer data. This can be anything; binary, json, files etc. Large amounts of data should be put here. For example, if sensors are stored then information on each sensor should probably be put in this field. Information on the number of sensors is preferably stored in metadata.

readonlyformat

format: string

Format of layer. It should represent the type of your layer. For example, if a layer holds sensors, a good format would be ‘sensors’.

optionalreadonlymetadata

metadata?: Lookup<any>

Optional metadata about the layer. Do not put large amounts of data here. Use data instead.

readonlyname

name: string

Name of layer