Skip to main content

novorender-api-docs / DataJsAPI / ObjectData

Interface: ObjectData

Object metadata.

Extends

Methods

loadMetaData()

loadMetaData(): Promise<ObjectData>

Load the associated object meta data.

Returns

Promise<ObjectData>

Inherited from

HierarcicalObjectReference.loadMetaData


save()

save(): Promise<boolean>

Save object meta data.

Returns

Promise<boolean>

Properties

bounds?

readonly optional bounds: object;

Bounding volume

box

readonly box: AABB;

sphere

readonly sphere: BoundingSphere;

Inherited from

HierarcicalObjectReference.bounds


descendants?

readonly optional descendants: number[];

Inherited from

HierarcicalObjectReference.descendants


description?

readonly optional description: string;

Description of object (typically from IFC database).


id

readonly id: number;

The id of the object

Inherited from

HierarcicalObjectReference.id


name

readonly name: string;

Name of object (typically a GUID from IFC database).


path

readonly path: string;

The path of the object expressed as a hierarchical filesystem-like path string.

Inherited from

HierarcicalObjectReference.path


properties

properties: [string, string][];

String dictionary of any additional metadata properties associated with object


type

readonly type: NodeType;

Type of node.

Inherited from

HierarcicalObjectReference.type


url?

readonly optional url: string;

Url associated with object