ScaleFeature.scaleFactor Property

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

Description

Returns the parameter that controls the uniform scale factor. This will return null in the case where isUniform is false or the feature is non-parametric. You can use the properties and methods on the ModelParameter object to get and set the value.

Syntax

"scaleFeature_var" is a variable referencing a ScaleFeature object.

# Get the value of the property.
propertyValue = scaleFeature_var.scaleFactor
"scaleFeature_var" is a variable referencing a ScaleFeature object.
#include <Fusion/Features/ScaleFeature.h>

// Get the value of the property.
Ptr<ModelParameter> propertyValue = scaleFeature_var->scaleFactor();

Property Value

This is a read only property whose value is a ModelParameter.

Version

Introduced in version January 2015