Script.iconFilename Property

Parent Object: Script
Defined in namespace "adsk::core" and the header file is <Core/Application/Script.h>

Description

Returns the filename of the image file that can be used as the icon for this script or add-in. This filename is defined in the manifest of the script or add-in using the "iconFilename" setting.

Syntax

"script_var" is a variable referencing a Script object.

# Get the value of the property.
propertyValue = script_var.iconFilename
"script_var" is a variable referencing a Script object.
#include <Core/Application/Script.h>

// Get the value of the property.
string propertyValue = script_var->iconFilename();

Property Value

This is a read only property whose value is a string.

Version

Introduced in version January 2025