WebLightDistribution.iesProfileData Property

Parent Object: WebLightDistribution

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/Render/WebLightDistribution.h>

Description

Gets and sets the IES photometric profile of this distribution.

When getting, this returns the IES profile data as text, which is the actual profile stored with the document. It returns an empty string if no profile is assigned.

When setting, provide either the full path to an .ies file or the IES profile data as text. If a valid file path is provided, the profile is read from that file and copied into the design, so it is saved with the document and remains valid after the design is shared. Setting this to an empty string removes the currently assigned profile.

Syntax

"webLightDistribution_var" is a variable referencing a WebLightDistribution object.
# Get the value of the property.
propertyValue = webLightDistribution_var.iesProfileData

# Set the value of the property.
webLightDistribution_var.iesProfileData = propertyValue
"webLightDistribution_var" Is a variable referencing a WebLightDistribution Object.
#include <Fusion/Render/WebLightDistribution.h>

// Get the value of the property.
string propertyValue = webLightDistribution_var->iesProfileData();

// Set the value of the property, where value_var is a string.
bool returnValue = webLightDistribution_var->iesProfileData(value_var);
"webLightDistribution_var" Is a variable referencing a WebLightDistribution Object.
// Get the value of the property.
propertyValue = webLightDistribution_var.iesProfileData;

// Set the value of the property.
webLightDistribution_var.iesProfileData = propertyValue;

Property Value

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

Version

Introduced in version September 2026