TSplineTorusInput.majorRadius Property

Parent Object: TSplineTorusInput
Defined in namespace "adsk::fusion" and the header file is <Fusion/TSpline/TSplineTorusInput.h>

Description

Gets and sets the major radius of the torus in centimeters.

Syntax

"tSplineTorusInput_var" is a variable referencing a TSplineTorusInput object.
# Get the value of the property.
propertyValue = tSplineTorusInput_var.majorRadius

# Set the value of the property.
tSplineTorusInput_var.majorRadius = propertyValue
"tSplineTorusInput_var" Is a variable referencing a TSplineTorusInput Object.
#include <Fusion/TSpline/TSplineTorusInput.h>

// Get the value of the property.
double propertyValue = tSplineTorusInput_var->majorRadius();

// Set the value of the property, where value_var is a double.
bool returnValue = tSplineTorusInput_var->majorRadius(value_var);
"tSplineTorusInput_var" Is a variable referencing a TSplineTorusInput Object.
// Get the value of the property.
propertyValue = tSplineTorusInput_var.majorRadius;

// Set the value of the property.
tSplineTorusInput_var.majorRadius = propertyValue;

Property Value

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

Version

Introduced in version October 2026