Share

Torus.majorRadius Property

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

Description

Gets and sets the major radius of the torus.

Syntax

"torus_var" is a variable referencing a Torus object.

# Get the value of the property.
propertyValue = torus_var.majorRadius

# Set the value of the property.
torus_var.majorRadius = propertyValue

Property Value

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

Version

Introduced in version August 2014

Was this information helpful?