Arrange2DEnvelopeInput.objectSpacing Property

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

Description

Specifies the minimum clearance between components in the arrangement. for a 3D layout this also specified the distance between the components in the Z direction.

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. You can also specify the units as part of the expression, such as "0.25 in + 2 mm". And you can define equations like "ToolDia + 2 mm" where "ToolDia" is an existing parameter.

Syntax

"arrange2DEnvelopeInput_var" is a variable referencing an Arrange2DEnvelopeInput object.

# Get the value of the property.
propertyValue = arrange2DEnvelopeInput_var.objectSpacing

# Set the value of the property.
arrange2DEnvelopeInput_var.objectSpacing = propertyValue
"arrange2DEnvelopeInput_var" is a variable referencing an Arrange2DEnvelopeInput object.
#include <Fusion/Arrange/Arrange2DEnvelopeInput.h>

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

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

Property Value

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

Version

Introduced in version January 2025