BodyGroup.count Property

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

Description

Returns the number of items directly contained by this group. This includes bodies and any nested groups.

Syntax

"bodyGroup_var" is a variable referencing a BodyGroup object.
# Get the value of the property.
propertyValue = bodyGroup_var.count
"bodyGroup_var" Is a variable referencing a BodyGroup Object.
#include <Fusion/Components/BodyGroup.h>

// Get the value of the property.
uinteger propertyValue = bodyGroup_var->count();
"bodyGroup_var" Is a variable referencing a BodyGroup Object.
// Get the value of the property.
propertyValue = bodyGroup_var.count;

Property Value

This is a read only property whose value is a uinteger.

Version

Introduced in version November 2026