SketchGroup.add Method

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

Description

Adds the specified item into this group. The item can be a Sketch or another SketchGroup. If the item is already a member of another group it is moved out of that group and into this one.

Syntax

"sketchGroup_var" is a variable referencing a SketchGroup object.

returnValue = sketchGroup_var.add(item)
"sketchGroup_var" is a variable referencing a SketchGroup object.

#include <Fusion/Components/SketchGroup.h>

returnValue = sketchGroup_var->add(item);
"sketchGroup_var" is a variable referencing a SketchGroup object.

returnValue = sketchGroup_var.add(item);

Return Value

Type Description
boolean Returns true if the item was successfully added into the group.

Parameters

Name Type Description
item Base The Sketch or SketchGroup to add into this group.

Version

Introduced in version November 2026