Arrange3DEnvelopeInput.length Property

Parent Object: Arrange3DEnvelopeInput

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

Description

Gets and sets length of the envelope. This is the size of the envelope as measured along the X axis of the specified construction plane.

This value will become a parameter when the arrangement is created. If the ValueInput is created using a real number it is in centimeters. If you use a string, it is evaluated the same as a value would be in the command dialog and uses the current document units. For example, if the document units are inch and you specific "0.25" it will result in 1/4 inch clearance. Using a string, you can also specify the units as part of the expression, such as "0.25 in + 2 mm". And you can define equations like "PartSize + 2 mm" where "PartSize" is an existing parameter.

Syntax

"arrange3DEnvelopeInput_var" is a variable referencing an Arrange3DEnvelopeInput object.

# Get the value of the property.
propertyValue = arrange3DEnvelopeInput_var.length

# Set the value of the property.
arrange3DEnvelopeInput_var.length = propertyValue
"arrange3DEnvelopeInput_var" is a variable referencing an Arrange3DEnvelopeInput object.
#include <Fusion/Arrange/Arrange3DEnvelopeInput.h>

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

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

Property Value

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

Version

Introduced in version January 2025