ArcBasicDocs

CreateCube

Creates a cube.

CreateCube ( [parent] )

Parameters

parent (optional)
an entity to attach it to, or 0 for none.

Description

Creates a cube and gives back its handle. It is 2 units across, from -1 to 1 on each axis, centred on its position. Stretch it into any box with ScaleEntity.

See also