LoftSections.add Method

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

Description

Adds a new section to the loft. The initial end condition is "Free". Additional methods on the returned LoftSection can be used to further define the section.

If this LoftSections object is associated with a created feature, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)

Syntax

"loftSections_var" is a variable referencing a LoftSections object.
returnValue = loftSections_var.add(entity)
"loftSections_var" is a variable referencing a LoftSections object.

#include <Fusion/Features/LoftSections.h>

returnValue = loftSections_var->add(entity);

Return Value

Type Description
LoftSection Returns the newly created LoftSection object.

Parameters

Name Type Description
entity Base Specifies the BRepFace, Profile, Path, SketchPoint, ConstructionPoint, or an ObjectCollection containing a contiguous set of Profile objects that defines the section.

Samples

Name Description
loftFeatures.add Demonstrates the loftFeatures.add method.
Loft Feature API Sample Demonstrates creating a new loft feature.

Version

Introduced in version August 2016