ArrangeComponent.rotation Property

Parent Object: ArrangeComponent

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::fusion" and the header file is <Fusion/Arrange/ArrangeComponent.h>

Description

Gets and sets the rotation angle of this ArrangeComponent. The value is defined in Radians, is relative to the zero direction vector returned by the zeroDirectionVector property, and is in a counterclockwise direction.

This is only valid for 2D True Shape arrangements and is ignored for 2D rectangular and 3D arrangements.

Syntax

"arrangeComponent_var" is a variable referencing an ArrangeComponent object.

# Get the value of the property.
propertyValue = arrangeComponent_var.rotation

# Set the value of the property.
arrangeComponent_var.rotation = propertyValue
"arrangeComponent_var" is a variable referencing an ArrangeComponent object.
#include <Fusion/Arrange/ArrangeComponent.h>

// Get the value of the property.
double propertyValue = arrangeComponent_var->rotation();

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

Property Value

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

Version

Introduced in version January 2025