Share

ArrangeSelection.customRotationZ Property

Parent Object: ArrangeSelection

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::cam" and the header file is <Cam/GeometrySelections/ArrangeSelection.h>

Description

Gets and sets the rotation increments (in degrees) for the z-axis. This function is not available in Fusion for Personal Use. Throws an exception when calling this function in Fusion for Personal Use. To enable any rotation the parameter "arrange_rotation_group" of the operation must be set to true. To disable z-axis rotation for this selection, customRotationZ must be set to 0. The default value for this property is 45 degrees. Note: If customRotationZ is called, isUsingCustomRotationZ will be set to true automatically.

Syntax

"arrangeSelection_var" is a variable referencing an ArrangeSelection object.

# Get the value of the property.
propertyValue = arrangeSelection_var.customRotationZ

# Set the value of the property.
arrangeSelection_var.customRotationZ = propertyValue

Property Value

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

Version

Introduced in version January 2025

Was this information helpful?