CustomGraphicsCurve.transform Property

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

Description

Gets and sets the transform associated with the graphics entity. When a new graphics entity is created its default transform is an identity matrix which results in the graphics entity being displayed in model space using the original coordinate data used to define the entity.

Syntax

"customGraphicsCurve_var" is a variable referencing a CustomGraphicsCurve object.

# Get the value of the property.
propertyValue = customGraphicsCurve_var.transform

# Set the value of the property.
customGraphicsCurve_var.transform = propertyValue
"customGraphicsCurve_var" is a variable referencing a CustomGraphicsCurve object.
#include <Fusion/Graphics/CustomGraphicsCurve.h>

// Get the value of the property.
Ptr<Matrix3D> propertyValue = customGraphicsCurve_var->transform();

// Set the value of the property, where value_var is a Matrix3D.
bool returnValue = customGraphicsCurve_var->transform(value_var);

Property Value

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

Version

Introduced in version September 2017