MAXScript Language Reference > 3ds Max Objects > Node : MAXWrapper > Node Subclasses > GeometryClass : Node > Geometry - Standard Objects >

# Cylinder : GeometryClass

    Cylinder - superclass: GeometryClass; super-superclass:node - classID: #(18, 0)

Value > MAXWrapper > Node > GeometryClass > Cylinder

| Geometry Objects - Quick Navigation

Constructor:

    cylinder...

Properties:

    <Cylinder>.radius Float default: 15.0 -- animatable

The radius of the cylinder.

    <Cylinder>.height Float default: 25.0 -- animatable

Height along the central axis.

Negative values create the cylinder below the construction plane.

    <Cylinder>.heightsegs Integer default: 1 -- animatable, alias: Height_Segments

The number of divisions along the cylinder's major axis.

    <Cylinder>.capsegs Integer default: 1 -- animatable, alias: Cap_Segments

The number of concentric divisions around the center of the cylinder's top and bottom.

    <Cylinder>.sides Integer default: 24 -- animatable

The number of sides around the cylinder.

With Smooth on, higher numbers shade and render as true circles.

With Smooth off, lower numbers create regular polygonal objects.

    <Cylinder>.smooth Booleandefault: true -- animatable

When on, the faces of the cylinder are blended together, creating a smooth appearance in rendered views.

    <Cylinder>.slice Booleandefault: false -- animatable, alias: sliceon

Turns on/off slice function.

    <Cylinder>.Slice_On Integer default: 0

Integer alias for .slice:

0- off

1- on

    <Cylinder>.sliceFrom Float default: 0.0 -- animatable, angle, alias: Slice_From

Sets the starting angle (on the local Z-axis) for slicing.

    <Cylinder>.sliceTo Float default: 0.0 -- animatable, angle, alias: Slice_To

Sets the angle (on the local Z-axis) to slice to.

    <Cylinder>.mapCoords Boolean default: false

When on, sets up the required coordinates for applying mapped materials to the cylinder.

Interfaces:

    Interface:realWorldMapSizeInterface

Properties:

    .realWorldMapSize: boolean : Read|Write

Enables/disables the real-world map size option.Available in 3ds Max 8 and higher.

#### See Also

- GeometryClass Common Properties, Operators, and Methods

- Node Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods