BodyGroup.isLightBulbOn Property

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

Description

Gets and sets if the light bulb of this group as seen in the browser is on or off. This controls the visibility of the bodies contained within the group.

Syntax

"bodyGroup_var" is a variable referencing a BodyGroup object.
# Get the value of the property.
propertyValue = bodyGroup_var.isLightBulbOn

# Set the value of the property.
bodyGroup_var.isLightBulbOn = propertyValue
"bodyGroup_var" Is a variable referencing a BodyGroup Object.
#include <Fusion/Components/BodyGroup.h>

// Get the value of the property.
boolean propertyValue = bodyGroup_var->isLightBulbOn();

// Set the value of the property, where value_var is a boolean.
bool returnValue = bodyGroup_var->isLightBulbOn(value_var);
"bodyGroup_var" Is a variable referencing a BodyGroup Object.
// Get the value of the property.
propertyValue = bodyGroup_var.isLightBulbOn;

// Set the value of the property.
bodyGroup_var.isLightBulbOn = propertyValue;

Property Value

This is a read/write property whose value is a boolean.

Version

Introduced in version November 2026