Share

ArrangeComponent.quantity 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

Specifies the quantity of this component to use in the arrange. This defaults to -1, which indicates that the global quantity is to be used.

For a 3D arrange, this property is ignored and the quantity is always one.

Syntax

"arrangeComponent_var" is a variable referencing an ArrangeComponent object.

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

# Set the value of the property.
arrangeComponent_var.quantity = propertyValue

Property Value

This is a read/write property whose value is an integer.

Version

Introduced in version January 2025

Was this information helpful?