CustomGraphicsEntity.id Property

Parent Object: CustomGraphicsEntity
Defined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsEntity.h>

Description

An id you can specify for the entity. By default, all new graphics entities do not have an id and this property will return an empty string. But in cases where entities will be selected, assigning an id can make understanding what was selected much easier.

Syntax

"customGraphicsEntity_var" is a variable referencing a CustomGraphicsEntity object.

# Get the value of the property.
propertyValue = customGraphicsEntity_var.id

# Set the value of the property.
customGraphicsEntity_var.id = propertyValue
"customGraphicsEntity_var" is a variable referencing a CustomGraphicsEntity object.
#include <Fusion/Graphics/CustomGraphicsEntity.h>

// Get the value of the property.
string propertyValue = customGraphicsEntity_var->id();

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

Property Value

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

Version

Introduced in version September 2017