Attribute.name Property

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

Description

Gets the name of the attribute.

Syntax

"attribute_var" is a variable referencing an Attribute object.

# Get the value of the property.
propertyValue = attribute_var.name
"attribute_var" is a variable referencing an Attribute object.
#include <Core/Application/Attribute.h>

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

Property Value

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

Version

Introduced in version May 2016