Share

ArrangeFeatures.add Method

Parent Object: ArrangeFeatures

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

Description

Creates a new Arrange feature. Use the create2DInput or create3DInput method to first create an input object and fully define the required input. Then, pass that input object to the add method to create the Arrange feature.

Syntax

"arrangeFeatures_var" is a variable referencing an ArrangeFeatures object.
returnValue = arrangeFeatures_var.add(input)

Return Value

Type Description
ArrangeFeature Returns the newly created ArrangeFeature object.

Parameters

Name Type Description
input ArrangeFeatureInput The ArrangeFeature2DInput or ArrangeFeature3DInput object that defines the required information needed to create a new Arrange feature. An ArrangeFeatureInput object is the logical equivalent to the command dialog when creating an Arrange feature. It provides access to the various options and collects all of the required input when creating an Arrange feature and call the add method is the API equivalent to clicking the OK button on the command dialog to create the Arrange feature.

Version

Introduced in version January 2025

Was this information helpful?