Part

class cee.usg.Part()

A part describes the elements and nodes in one part of the Geometry.

A part links a mesh defining the part geometry (mesh) with the settings for the part. Parts can share a mesh, and then e.g. use a transformation result to offset the parts.

The part settings allows you to control the color, draw style, visibility and result settings for the part.

A part can have a user defined name and a customData property is provided to store any application specific data for each part.

Index

Accessors

Accessors

cee.usg.Part.customData()
get customData(): any

Custom data for the part. This field is not used by EnvisionWeb.

Returns: any

set customData(data: any): void

Parameters

data: any

Returns: void

cee.usg.Part.mesh()
get mesh(): Mesh

The mesh defining the elements and nodes of the part.

Returns: Mesh

set mesh(mesh: Mesh): void

Parameters

mesh: Mesh

Returns: void

cee.usg.Part.name()
get name(): string

The name of the part

Returns: string

set name(name: string): void

Parameters

name: string

Returns: void

cee.usg.Part.settings()
get settings(): PartSettings

Returns an active reference to the settings for this part.

Returns: PartSettings