Component.isCanvasFolderLightBulbOn Property

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

Description

Gets and sets if the light bulb of the canvas folder as seen in the browser is on or off. This controls the visibility of all the canvases in the component.

Syntax

"component_var" is a variable referencing a Component object.

# Get the value of the property.
propertyValue = component_var.isCanvasFolderLightBulbOn

# Set the value of the property.
component_var.isCanvasFolderLightBulbOn = propertyValue
"component_var" is a variable referencing a Component object.
#include <Fusion/Components/Component.h>

// Get the value of the property.
boolean propertyValue = component_var->isCanvasFolderLightBulbOn();

// Set the value of the property, where value_var is a boolean.
bool returnValue = component_var->isCanvasFolderLightBulbOn(value_var);

Property Value

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

Version

Introduced in version July 2023