Arrange2DPlaneEnvelopeInput.quantity Property

Parent Object: Arrange2DPlaneEnvelopeInput

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/Arrange2DPlaneEnvelopeInput.h>

Description

Specifies the number of envelopes that can be used. The default value is -1 which means there is no limit.

This value will become a parameter when the arrangement is created. When created with a real value it must be a whole number. You can also use a string where it is interpreted the same as when entered in the command dialog. The expression must result in a unitless whole number. It's also possible to use an equation like "Total / 4" where "Total" is an existing parameter and be evenly divided by four.

Syntax

"arrange2DPlaneEnvelopeInput_var" is a variable referencing an Arrange2DPlaneEnvelopeInput object.

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

# Set the value of the property.
arrange2DPlaneEnvelopeInput_var.quantity = propertyValue
"arrange2DPlaneEnvelopeInput_var" is a variable referencing an Arrange2DPlaneEnvelopeInput object.
#include <Fusion/Arrange/Arrange2DPlaneEnvelopeInput.h>

// Get the value of the property.
Ptr<ValueInput> propertyValue = arrange2DPlaneEnvelopeInput_var->quantity();

// Set the value of the property, where value_var is a ValueInput.
bool returnValue = arrange2DPlaneEnvelopeInput_var->quantity(value_var);

Property Value

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

Version

Introduced in version January 2025