Sketch.compute Method

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

Description

Recomputes the fully constrained analysis for the entire sketch. This updates the fully constrained status of all sketch entities and should be used when the constraint status may be stale or incorrect.

Syntax

"sketch_var" is a variable referencing a Sketch object.

returnValue = sketch_var.compute()
"sketch_var" is a variable referencing a Sketch object.

#include <Fusion/Sketch/Sketch.h>

returnValue = sketch_var->compute();
"sketch_var" is a variable referencing a Sketch object.

returnValue = sketch_var.compute();

Return Value

Type Description
boolean Returns true if the operation was successful.

Version

Introduced in version October 2026