TSplineBody.isLightBulbOn Property

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

Description

Gets and sets if the light bulb of this body as displayed in the browser is on or off. A T-Spline body will only be visible if the light bulb is switched on. However, the light bulb can be on and the body still invisible if the light bulb for the Bodies folder is turned off.

Syntax

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

# Set the value of the property.
tSplineBody_var.isLightBulbOn = propertyValue
"tSplineBody_var" Is a variable referencing a TSplineBody Object.
#include <Fusion/TSpline/TSplineBody.h>

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

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

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

Property Value

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

Version

Introduced in version October 2026