Attributes.groupNames Property

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

Description

Returns an array of strings that are all of the name of attribute groups that exist on this entity. An empty array can be returns if there are no attributes on the entity.

Syntax

"attributes_var" is a variable referencing an Attributes object.

# Get the value of the property.
propertyValue = attributes_var.groupNames
"attributes_var" is a variable referencing an Attributes object.
#include <Core/Application/Attributes.h>

// Get the value of the property.
std::vector<string> propertyValue = attributes_var->groupNames();

Property Value

This is a read only property whose value is an array of type string.

Version

Introduced in version May 2016