SketchControlPointSpline.degree Property

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

Description

Gets and sets the degree of the spline.

Syntax

"sketchControlPointSpline_var" is a variable referencing a SketchControlPointSpline object.

# Get the value of the property.
propertyValue = sketchControlPointSpline_var.degree

# Set the value of the property.
sketchControlPointSpline_var.degree = propertyValue
"sketchControlPointSpline_var" is a variable referencing a SketchControlPointSpline object.
#include <Fusion/Sketch/SketchControlPointSpline.h>

// Get the value of the property.
SplineDegrees propertyValue = sketchControlPointSpline_var->degree();

// Set the value of the property, where value_var is a SplineDegrees.
bool returnValue = sketchControlPointSpline_var->degree(value_var);

Property Value

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

Version

Introduced in version July 2022