Share

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 Property that specifies whether the loft needs to be closed or not.
FirstSectionAngle Property that specifies the angle of the loft in relation to the sketch plane of the starting section.
FirstSectionCondition Property that specifies the condition of the loft at the starting section.
FirstSectionDirectionReversed Property that specifies whether the takeoff direction for the starting section should be reversed from its default direction.
FirstSectionImpact Property that specifies the impact the starting section's condition has on the shape of the entire loft.
FirstSectionTangentPlane Property that specifies the tangent plane for the starting section in the case that the section is a point.
LastSectionAngle Property that specifies the angle of the loft in relation to the sketch plane of the ending section.
LastSectionCondition Property that specifies the condition of the loft at the ending section.
LastSectionDirectionReversed Property that specifies whether the takeoff direction for the ending section should be reversed from its default direction.
LastSectionImpact Property that specifies the impact the ending section's condition has on the shape of the entire loft.
LastSectionTangentPlane Property that specifies the tangent plane for the ending section in the case that the section is a point.
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 Property that specifies the mapping to use between sections.
MergeTangentFaces Property that specifies if the tangent faces of the loft should be merged or not.
Operation Property that specifies the type of operation used to add the feature to the model.
Sections Property that specifies the sections used for a loft.

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

Was this information helpful?