SketchGroup.isLightBulbOn Property

Parent Object: SketchGroup
Defined in namespace "adsk::fusion" and the header file is <Fusion/Components/SketchGroup.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 sketches contained within the group.

Syntax

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

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

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

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

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

Property Value

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

Version

Introduced in version November 2026