ArrangeFeatureInput.setProfileOrFaceEnvelope Method

Parent Object: ArrangeFeatureInput

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

Description

Defines an envelope defined by one or more profiles or planar faces. Only a single envelope input can exist at time. Calling this method will cause any existing envelope input object to be invalid.

Syntax

"arrangeFeatureInput_var" is a variable referencing an ArrangeFeatureInput object.
returnValue = arrangeFeatureInput_var.setProfileOrFaceEnvelope(profilesOrFaces)
"arrangeFeatureInput_var" is a variable referencing an ArrangeFeatureInput object.

#include <Fusion/Arrange/ArrangeFeatureInput.h>

returnValue = arrangeFeatureInput_var->setProfileOrFaceEnvelope(profilesOrFaces);

Return Value

Type Description
Arrange2DProfileOrFaceEnvelopeInput Returns the created Arrange2DProfileOrFaceEnvelopeInput object or null if the creation fails.

Parameters

Name Type Description
profilesOrFaces Base[] An array of Profile and planar BRepFace objects that define the shape of the available envelopes.

Version

Introduced in version January 2025