Palette.name Property

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

Description

Gets and set the name of the palette as seen in the user interface. The name of native palettes cannot be set.

Syntax

"palette_var" is a variable referencing a Palette object.

# Get the value of the property.
propertyValue = palette_var.name

# Set the value of the property.
palette_var.name = propertyValue
"palette_var" is a variable referencing a Palette object.
#include <Core/UserInterface/Palette.h>

// Get the value of the property.
string propertyValue = palette_var->name();

// Set the value of the property, where value_var is a string.
bool returnValue = palette_var->name(value_var);

Property Value

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

Version

Introduced in version March 2017