High level api to interact with the loaded vim ometry and data.

Implements

Constructors

Properties

element: number

The bim element index associated with this object.

instances: number[]

The geometry instances associated with this object.

type: "Element3D" = 'Element3D'

Indicate whether this object is architectural or markup.

The vim object from which this object came from.

Accessors

Methods

  • Asynchronously retrieves Bim parameters for the element associated with this object.

    Returns Promise<ElementParameter[]>

    An array of all bim parameters for this elements.

  • Retrieves the center position of this object.

    Parameters

    • Optionaltarget: Vector3 = ...

      Optional parameter specifying where to copy the center position data. A new instance is created if none is provided.

    Returns Promise<Vector3>

    The center position of the object, or undefined if the object has no geometry.