Component Object

The Component Object lets you define or change components. Each solid is sorted into a component.

Methods

New ( name componentname )

Creates a new component with the given name.

 

Delete ( name componentname )

Deletes an existing component and all the containing solids.

 

Rename ( name oldname, name newname )

Changes the name of an existing component.

 

GetNextFreeName name componentname

Returns the next unused component name.

Example

' Create a new component

Component.New "component1"

 

' Rename an existing component

Component.Rename "component1", "MyComponent"