Features.unfoldFeatures Property

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

Description

Returns the collection that provides access to the existing unfold features.

Syntax

"features_var" is a variable referencing a Features object.
# Get the value of the property.
propertyValue = features_var.unfoldFeatures
"features_var" Is a variable referencing a Features Object.
#include <Fusion/Features/Features.h>

// Get the value of the property.
Ptr<UnfoldFeatures> propertyValue = features_var->unfoldFeatures();
"features_var" Is a variable referencing a Features Object.
// Get the value of the property.
propertyValue = features_var.unfoldFeatures;

Property Value

This is a read only property whose value is a UnfoldFeatures.

Samples

Name Description
Unfold Feature Sample

Demonstrates creating a sheet metal unfold feature, including selecting bend faces via BRepBody.getBendFaces and using UnfoldFeatures / UnfoldFeatureInput.

Before running: Open a sheet metal design that already contains a valid unfold target (for example the test model Neutron/Test/APITest/APISampleSheetMetalUnFold.f3d, or your own sheet metal part with bends). Run in the DESIGN workspace. The automation test harness opens that file automatically; when running manually, open the design first.

Version

Introduced in version August 2020