LoftSection.entity Property

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

Description

Get and sets the entity that defines the section of the loft. This can be a BRepFace, Profile, Path, SketchPoint, ConstructionPoint, or an ObjectCollection of contiguous profiles.

If this LoftSection 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

"loftSection_var" is a variable referencing a LoftSection object.

# Get the value of the property.
propertyValue = loftSection_var.entity

# Set the value of the property.
loftSection_var.entity = propertyValue
"loftSection_var" is a variable referencing a LoftSection object.
#include <Fusion/Features/LoftSection.h>

// Get the value of the property.
Ptr<Base> propertyValue = loftSection_var->entity();

// Set the value of the property, where value_var is a Base.
bool returnValue = loftSection_var->entity(value_var);

Property Value

This is a read/write property whose value is a Base.

Version

Introduced in version August 2016