MoveFeatureFreeMoveDefinition.transform Property

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

Description

Gets and sets the transform that's applied to the face or body. The matrix must be an orthogonal matrix; that is the axes are perpendicular to each other and there isn't any scaling or mirroring defined.

To set this property, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)

Syntax

"moveFeatureFreeMoveDefinition_var" is a variable referencing a MoveFeatureFreeMoveDefinition object.

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

# Set the value of the property.
moveFeatureFreeMoveDefinition_var.transform = propertyValue
"moveFeatureFreeMoveDefinition_var" is a variable referencing a MoveFeatureFreeMoveDefinition object.
#include <Fusion/Features/MoveFeatureFreeMoveDefinition.h>

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

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

Property Value

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

Version

Introduced in version January 2023