ArcBasicDocs

CreateCylinder

Creates a cylinder.

CreateCylinder ( [segments][,solid][,parent] )

Parameters

segments (optional)
how many sides it has round its middle, from 3 to 100. Defaults to 8.
solid (optional)
1 closes the ends, 0 leaves it an open tube.
parent (optional)
an entity to attach it to, or 0 for none.

Description

Creates a cylinder standing upright, with a radius of 1 and 2 units tall (from -1 to 1), and gives back its handle.

See also