ScaleFeatures.add Method

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

Description

Creates a new scale feature.

Syntax

"scaleFeatures_var" is a variable referencing a ScaleFeatures object.
returnValue = scaleFeatures_var.add(input)
"scaleFeatures_var" is a variable referencing a ScaleFeatures object.

#include <Fusion/Features/ScaleFeatures.h>

returnValue = scaleFeatures_var->add(input);

Return Value

Type Description
ScaleFeature Returns the newly created ScaleFeature object or null if the creation failed. Returns nothing in the case where the feature is non-parametric.

Parameters

Name Type Description
input ScaleFeatureInput A ScaleFeatureInput object that defines the desired scale. Use the createInput method to create a new ScaleFeatureInput object and then use methods on it (the ScaleFeatureInput object) to define the scale.

Samples

Name Description
scaleFeatures.add Demonstrates the creation a scale feature.
Scale Feature API Sample Demonstrates creating a new scale feature.

Version

Introduced in version January 2015