UnfoldFeature Object

Derived from: Feature Object
Defined in namespace "adsk::fusion" and the header file is <Fusion/SheetMetal/UnfoldFeature.h>

Description

Object that represents an existing unfold feature in a design.

Methods

Name Description
classType

createForAssemblyContext

PreviewCreates or returns a proxy for the native object - i.e. a new object that represents this object but adds the assembly context defined by the input occurrence.

deleteMe

dissolve

setUnfoldBends

PreviewUpdates this unfold feature to unfold either all bends or only the specified bend faces. You need to position the timeline marker to immediately before this feature before calling this method. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)

Properties

Name Description
assemblyContext
attributes
baseFeature
bendFaces PreviewGets the bend faces that are unfolded when isUnfoldAllBends is false. The returned array contains the full per-bend face groups (inner, outer, and any partner side faces) as resolved at creation time, even if the caller originally supplied only the inner or only the outer face of each bend. When isUnfoldAllBends is true, explicit bend faces may be empty or cleared after the solve. To change which bends are unfolded, use setUnfoldBends.
bodies
entityToken
errorOrWarningMessage
faces
healthState
isParametric
isSuppressed
isUnfoldAllBends PreviewGets whether all bends in the sheet metal body are unfolded for this feature. When true, the bendFaces property is ignored for the solve. To change unfold-all vs explicit bend selection, use setUnfoldBends.
isValid
linkedFeatures
name
nativeObject PreviewThe NativeObject is the object outside the context of an assembly and in the context of its parent component. Returns null in the case where this object is not in the context of an assembly but is already the native object.
objectType
parentComponent
refoldFeature Returns the refold feature associated with this unfold feature, or null if there is no associated refold. Unfold and refold features are often created together in a group.
stationaryFace PreviewGets and sets the stationary face for the unfold feature.

To set this property, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)
timelineObject

Accessed From

RefoldFeature.unfoldFeature, RefoldFeatureInput.unfoldFeature, UnfoldFeature.createForAssemblyContext, UnfoldFeature.nativeObject, UnfoldFeatures.add, UnfoldFeatures.item, UnfoldFeatures.itemByName

Samples

Name Description
Unfold and Refold Feature Sample Demonstrates accessing the association between unfold and refold features. Shows how to get the refold feature from an unfold, and the unfold feature from a refold.
Unfold Feature Sample Demonstrates creating a sheet metal unfold feature using BRepBody.getBendFaces.

Version

Introduced in version August 2020