VolumetricModel.isLightBulbOn Property

Parent Object: VolumetricModel
Defined in namespace "adsk::volume" and the header file is <Volume/Volumetric/VolumetricModel.h>

Description

Gets and sets if the light bulb / eye (as displayed in the browser) controlling the model's visibility is on.

Syntax

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

# Set the value of the property.
volumetricModel_var.isLightBulbOn = propertyValue
"volumetricModel_var" Is a variable referencing a VolumetricModel Object.
#include <Volume/Volumetric/VolumetricModel.h>

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

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

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

Property Value

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

Version

Introduced in version May 2025