CustomGraphicsLines.weight Property

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

Description

Defines the thickness of the line in pixels.

Syntax

"customGraphicsLines_var" is a variable referencing a CustomGraphicsLines object.

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

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

// Get the value of the property.
double propertyValue = customGraphicsLines_var->weight();

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

Property Value

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

Version

Introduced in version September 2017