CustomGraphicsLines.id Property

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

"customGraphicsLines_var" is a variable referencing a CustomGraphicsLines object.

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

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

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

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

Property Value

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

Version

Introduced in version September 2017