TriadCommandInput.transform Property

Parent Object: TriadCommandInput
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/TriadCommandInput.h>

Description

Gets or sets the current position, orientation, and scale of the triad using a transformation matrix.

Syntax

"triadCommandInput_var" is a variable referencing a TriadCommandInput object.

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

# Set the value of the property.
triadCommandInput_var.transform = propertyValue
"triadCommandInput_var" is a variable referencing a TriadCommandInput object.
#include <Core/UserInterface/TriadCommandInput.h>

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

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

Property Value

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

Version

Introduced in version May 2022