Sketch.scale Method

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

Description

Scales the specified sketch entities about the specified reference point by the specified scale factor.

Syntax

"sketch_var" is a variable referencing a Sketch object.

returnValue = sketch_var.scale(sketchEntities, referencePoint, scaleFactor)
"sketch_var" is a variable referencing a Sketch object.

#include <Fusion/Sketch/Sketch.h>

returnValue = sketch_var->scale(sketchEntities, referencePoint, scaleFactor);
"sketch_var" is a variable referencing a Sketch object.

returnValue = sketch_var.scale(sketchEntities, referencePoint, scaleFactor);

Return Value

Type Description
boolean Returns true if the scale was successful.

Parameters

Name Type Description
sketchEntities SketchEntity[] An array of sketch entities to scale. These can be sketch points and curves.
referencePoint Point3D The reference point about which to scale.
scaleFactor double The uniform scale factor to apply.

Version

Introduced in version September 2026