Hide menu
Loading...
Searching...
No Matches
ModelElement

Base class for part, instance and assembly.

Extends

Extended by

Constructors

new ModelElement()

new ModelElement(name?): ModelElement

Parameters

name?

Name of the model element.

null | string

Returns

ModelElement

Overrides

BaseObject.constructor

Properties

material

material: null | VisualMaterial = null

The model element material. null if the element has no material (by default).

Accessors

id

Get Signature

get id(): bigint

Returns object id.

Returns

bigint

Inherited from

BaseObject.id


name

Get Signature

get name(): null | string

Returns name of the model element. null if the element has no name (by default).

Returns

null | string

Set Signature

set name(name): void

Sets name of the model element.

Parameters

name

Name of the model element.

null | string

Returns

void


uuid

Get Signature

get uuid(): null | `$string