Share

Cylinder.axis Property

Parent Object: Cylinder
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Cylinder.h>

Description

The center axis (along the length) of the cylinder that defines its normal direction.

Syntax

"cylinder_var" is a variable referencing a Cylinder object.

# Get the value of the property.
propertyValue = cylinder_var.axis

# Set the value of the property.
cylinder_var.axis = propertyValue

Property Value

This is a read/write property whose value is a Vector3D.

Version

Introduced in version August 2014

Was this information helpful?