Share

RefoldFeature.Edit Method

Parent Object: RefoldFeature

Description

Method that edits an existing refold feature. The stop node should be positioned immediately before this feature before calling this method so that all of the input is available and in a valid state.

Remarks

For most models the Face specified in the StationaryFace parameter must be on the top or bottom of the part, not around the edge. The exception to this is a part where all of the faces on the top and bottom of the part are cylindrical, as shown below.

When using the Refold command in the user interface for parts like this, the user must specify one of the ends. The user interface displays what looks like work planes at each end of the part, as shown below, for the user to select. When using the API you must supply the equivalent Face objects at the end of the part.

Syntax

RefoldFeature.Edit( StationaryFace As Face, [Bends] As Variant, [Sketches] As Variant )

Parameters

Name Type Description
StationaryFace Face Input Face object that specifies the geometry that will remain fixed while other geometry refolds. See Remarks.
Bends Variant Optional input ObjectCollection that defines the bend(s) to refold. The bends specified must be in an unfolded state (IsFlat equals True). Not providing this argument or inputting Nothing indicates that all flat bends are to be refolded.

This is an optional argument whose default value is null.
Sketches Variant Optional input ObjectCollection that specifies any sketches to be copied and transformed as part of the folding operation. The input sketches must be a child of one of the faces being folded. Also only one sketch per folded face is allowed.

This is an optional argument whose default value is null.

Version

Introduced in version 2010

Was this information helpful?