Occurrence.transform2 Property

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

Description

Gets and sets the 3d matrix data that defines this occurrences orientation and position in its assembly context

Syntax

"occurrence_var" is a variable referencing an Occurrence object.

# Get the value of the property.
propertyValue = occurrence_var.transform2

# Set the value of the property.
occurrence_var.transform2 = propertyValue
"occurrence_var" is a variable referencing an Occurrence object.
#include <Fusion/Components/Occurrence.h>

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

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

Property Value

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

Version

Introduced in version January 2022