UserCoordinateSystem.isLightBulbOn Property

Parent Object: UserCoordinateSystem

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::fusion" and the header file is <Fusion/Construction/UserCoordinateSystem.h>

Description

Gets and sets if the light bulb of this User Coordinate System as displayed in the browser is on or off. A User Coordinate System will only be visible if the light bulb is switched on. However, the light bulb can be on and the User Coordinate System still invisible if a higher level occurrence in the assembly context is not visible because its light bulb is off or the constructions folder light bulb is off.

Syntax

"userCoordinateSystem_var" is a variable referencing a UserCoordinateSystem object.

# Get the value of the property.
propertyValue = userCoordinateSystem_var.isLightBulbOn

# Set the value of the property.
userCoordinateSystem_var.isLightBulbOn = propertyValue
"userCoordinateSystem_var" Is a variable referencing a UserCoordinateSystem Object.
#include <Fusion/Construction/UserCoordinateSystem.h>

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

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

Property Value

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

Version

Introduced in version May 2026