Cylinder.radius Property

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

Description

The radius of the cylinder.

Syntax

"cylinder_var" is a variable referencing a Cylinder object.

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

# Set the value of the property.
cylinder_var.radius = propertyValue
"cylinder_var" is a variable referencing a Cylinder object.
#include <Core/Geometry/Cylinder.h>

// Get the value of the property.
double propertyValue = cylinder_var->radius();

// Set the value of the property, where value_var is a double.
bool returnValue = cylinder_var->radius(value_var);

Property Value

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

Version

Introduced in version August 2014