File3dmInstanceDefinitionTable

File3dmInstanceDefinitionTable

Provides access to instance (block) definitions in the 3dm file.

Methods

add(name, description, basePoint, geometry, attributes) → {int}

Adds an instance definition to the instance definition table.
Parameters:
Name Type Description
name string The definition name.
description string The definition description.
basePoint Array.<x, y, z> A base point.
geometry GeometryBase An element.
attributes ObjectAttributes An attribute.
Returns:
>=0 index of instance definition in the instance definition table. -1 on failure.
Type
int

count()

...

findId()

...

findIndex()

...

get()

...