Cylinder.axis Property
Parent Object:
CylinderDefined 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
|
"cylinder_var" is a variable referencing a Cylinder object.
#include <Core/Geometry/Cylinder.h>
// Get the value of the property. Ptr<Vector3D> propertyValue = cylinder_var->axis();
// Set the value of the property, where value_var is a Vector3D. bool returnValue = cylinder_var->axis(value_var);
|
Property Value
This is a read/write property whose value is a
Vector3D.
Version
Introduced in version August 2014