ConstructionGroups.itemByName Method

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

Description

Returns the group with the specified name, as seen in the browser. Group names are not required to be unique, so this returns an array of all matching groups.

Syntax

"constructionGroups_var" is a variable referencing a ConstructionGroups object.

returnValue = constructionGroups_var.itemByName(name)
"constructionGroups_var" is a variable referencing a ConstructionGroups object.

#include <Fusion/Components/ConstructionGroups.h>

returnValue = constructionGroups_var->itemByName(name);
"constructionGroups_var" is a variable referencing a ConstructionGroups object.

returnValue = constructionGroups_var.itemByName(name);

Return Value

Type Description
ConstructionGroup[] Returns an array of the matching groups or an empty array if no group with the specified name was found.

Parameters

Name Type Description
name string The name of the group, as seen in the browser, to return.

Version

Introduced in version November 2026