Hide menu
Loading...
Searching...
No Matches
Part

Defines a leaf node in the scene graph hierarchy.

A part corresponds to mechanical part or a product in the product structure hierarchy.

Extends

Constructors

new Part()

new Part(name?): Part

Parameters

name?

Name of the model element.

null | string

Returns

Part

Inherited from

ModelElement.constructor

Properties

material

material: null | VisualMaterial = null

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

Inherited from

ModelElement.material

Accessors

bodies

Get Signature

get bodies(): ReadonlySet<Body>

Returns a set of added bodies.

Returns

ReadonlySet<Body>


id

Get Signature

get id(): bigint

Returns object id.

Returns

bigint

Inherited from

ModelElement.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

Inherited from

ModelElement.name


numberOfBodies

Get Signature

get numberOfBodies(): number

Returns number of child bodies.

Deprecated. Use bodies.size instead.

Deprecated

Returns

number


uuid

Get Signature

get uuid(): null | `$string