ScaleFeatures.createInput Method

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

Description

Creates a ScaleFeatureInput object. Use properties and methods on this object to define the scale you want to create and then use the Add method, passing in the ScaleFeatureInput object.

Syntax

"scaleFeatures_var" is a variable referencing a ScaleFeatures object.
returnValue = scaleFeatures_var.createInput(inputEntities, point, scaleFactor)
"scaleFeatures_var" is a variable referencing a ScaleFeatures object.

#include <Fusion/Features/ScaleFeatures.h>

returnValue = scaleFeatures_var->createInput(inputEntities, point, scaleFactor);

Return Value

Type Description
ScaleFeatureInput Returns the newly created ScaleFeatureInput object or null if the creation failed.

Parameters

Name Type Description
inputEntities ObjectCollection This collection can contain sketches, BRep bodies and T-Spline bodies in parametric modeling. It can contain sketches, BRep bodies, T-Spline bodies, mesh bodies, root component and occurrences in non-parametric modeling.
point Base Input a point as reference to scale. This can be a BRepVertex, a SketchPoint or a ConstructionPoint.
scaleFactor ValueInput The ValueInput object that defines the scale factor for uniform 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