CustomGraphicsMesh.id Property

Parent Object: CustomGraphicsMesh
Defined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsMesh.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

"customGraphicsMesh_var" is a variable referencing a CustomGraphicsMesh object.

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

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

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

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

Property Value

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

Version

Introduced in version September 2017