ScaleFeatureInput.setToNonUniform Method

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

Description

Sets the scale factor for the x, y, z directions to define a non-uniform scale. Calling this method will cause the isUniform property to be set to false. This will fail if the inputEntities collection contains sketches or components.

Syntax

"scaleFeatureInput_var" is a variable referencing a ScaleFeatureInput object.
returnValue = scaleFeatureInput_var.setToNonUniform(xScale, yScale, zScale)
"scaleFeatureInput_var" is a variable referencing a ScaleFeatureInput object.

#include <Fusion/Features/ScaleFeatureInput.h>

returnValue = scaleFeatureInput_var->setToNonUniform(xScale, yScale, zScale);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
xScale ValueInput A ValueInput object that defines the scale in the X direction.
yScale ValueInput A ValueInput object that defines the scale in the Y direction.
zScale ValueInput A ValueInput object that defines the scale in the Z direction.

Samples

Name Description
Scale Feature API Sample Demonstrates creating a new scale feature.

Version

Introduced in version January 2015