SweepFeatures Object


Description

The SweepFeatures collection object provides access to all of the objects in a component definition and provides methods to create additional SweepFeature objects.

Methods

Name Description
Add Method that creates a new SweepFeature object.
AddSolidSweep Method that creates a new SweepFeature object based on a surfacebody.
CreateSolidSweepDefinition Method that creates the SolidSweepDefinition object.
CreateSweepDefinition Method that creates the SweepDefinition object.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
Count Property that returns the number of items in this collection.
Item Method that returns the specified SweepFeature object from the collection.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

Features.SweepFeatures, FlatPatternFeatures.SweepFeatures, PartFeatures.SweepFeatures, SheetMetalFeatures.SweepFeatures

Samples

Name Description
Sweep Feature Add This sample demonstrates the creation of a sweep feature. The profile is a circle, but the path is made up of a 3D sketch and a 2D sketch.
True length of sweep feature This sample demonstrates the calculation of the true length of a sweep feature. If the centroid of the sweep profile does not lie on the sweep path, the true length of the sweep feature is not the same as the sum of lengths of the path entities.

Version

Introduced in version 5