LoftDefinition Object


Description

The LoftDefinition object is used to define additional input required for creating loft features.

Methods

Name Description
Copy Method that creates and returns a copy of this loft definition.

Properties

Name Description
Centerline Property that specifies the centerline for the loft. Valid objects includes Profile, Profile3D, EdgeLoop and EdgeCollection. When this LoftDefinition is associative with an existing LoftFeature or if it is copied from an LoftDefinition that is associative with a LoftFeature, then set this property you should follow below rules, otherwise an error would occur:
  • If the LoftDefinition.LoftType returns kRegularLoft you can set this property directly.
  • If the LoftDefinition.LoftType returns kLoftWithRails you need to clear the LoftDefinition.LoftRails before setting this property.
  • If the LoftDefinition.LoftType returns kLoftWithAreaGraphSections you need to clear the LoftDefinition.LoftSectionDimensions if any before setting this property,
Closed
FirstSectionAngle
FirstSectionCondition
FirstSectionDirectionReversed
FirstSectionImpact
FirstSectionTangentPlane
LastSectionAngle
LastSectionCondition
LastSectionDirectionReversed
LastSectionImpact
LastSectionTangentPlane
LoftRails Read-only property that specifies the rails for the loft. If the LoftDefinition.LoftType is not kRegularLoft or kLoftWithRails then set this property will raise error, you should follow below rules to set this property:
  • If the LoftDefinition.LoftType returns kRegularLoft you can set this property directly.
  • If the LoftDefinition.LoftType returns kLoftWithCenterline you need to clear the LoftDefinition.Centerline before setting this property.
  • If the LoftDefinition.LoftType returns kLoftWithAreaGraphSections you need to clear the LoftDefinition.LoftSectionDimensions if any and LoftDefinition.Centerline before setting this property,
LoftSectionDimensions Read-only property that specifies the placed section dimensions for an area-graph type loft. Before adding new LoftSectionDimension into this collection the LoftDefinition.Centerline should be set first, otherwise an error would occur.
LoftType Property that gets the type of loft feature.
MapPointCurves
MergeTangentFaces
Operation
Sections

Accessed From

LoftDefinition.Copy, LoftFeature.Definition, LoftFeatureProxy.Definition, LoftFeatures.CreateLoftDefinition

Samples

Name Description
Loft Feature With Non-Planar Section This sample demonstrates the creation of a loft feature. It uses two sections for the loft, one is from a 2d sketch and the other is a non-planar section from a 3d sketch. Because one of the sketches isn't planar, a surface is created instead of a solid.

Version

Introduced in version 2008