Share

SweepFeature Object

Derived from: PartFeature Object

Description

The SweepFeature object represents swept modeling features. The properties and methods listed below are in addition to those supported by the Feature object.

Methods

Name Description
AddParticipant Add the specified occurrence from the list of participants for this feature. This method only applies to assembly features.
Delete Method that deletes the feature. The arguments allow control over which dependent objects are also deleted.
GetReferenceKey Method that generates and returns the reference key for this entity.
GetSuppressionCondition Method that gets the suppression condition for the feature. The method returns False if no condition has been applied.
RemoveParticipant Method that removes the specified participant from the assembly feature. This method fails for features in a part.
SetAffectedBodies Method that sets a collection of SurfaceBody objects affected by this feature.
SetEndOfPart Method that repositions the end-of-part marker relative to the object this method is called from.
SetSuppressionCondition Method that sets the suppression condition for the feature.

Properties

Name Description
Adaptive Gets and sets whether this feature is adaptive or not.
Appearance Gets and sets the current appearance of the feature.
AppearanceSourceType Gets and sets the source of the appearance for the feature.
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.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
ConsumeInputs Gets and sets whether the inputs to this feature should be nested under this feature in the browser.
Definition Read-write property that gets and sets the SweepDefinition object associated with this sweep feature.
EndFaces Property that returns the set of that cap one end of the sweep that are coincident with the sketch plane. The end faces are those not coincident to the sketch plane of the feature's profile. In the case of a symmetric revolution these faces are the ones on the negative normal side of the sketch plane. In the cases where there aren't any end faces this property will return Nothing.
ExtendedName Read-only property that returns the full feature name including any extended information.
Faces Property that returns a collection that provides access to all of the faces of the feature. The Faces collection object will return the faces that still currently exist in the part. For example, if a face has been consumed by additional modeling operations it will not be returned.
FeatureDimensions Property that returns the FeatureDimensions collection object.
HealthStatus Property that returns an enum indicating the current state of the object.
IsOwnedByFeature Property that returns whether this object is owned by a feature. If True, the OwnedBy property returns the owning feature.
IsSolidSweep Read-only property that returns whether the feature is a solid sweep feature.
Name Gets/Sets the name of this Part Feature within the scope of this Document.
OwnedBy Property that returns the owning PartFeature object. This property returns Nothing if the IsOwnedByFeature property returns False.
Parameters Property that returns all the parameters associated with the feature.
Parent Property that returns the parent of the feature.
Participants Property that returns the list of participants for an assembly feature. This list is empty for features in a part.
RangeBox Property that returns a Box object which contains the opposing points of a rectangular box that is guaranteed to enclose this object.
Shared Gets and sets whether the part feature is shared or not, applies only to surface features.
SideFaces Property that returns a object that provides access to all of the faces created around the perimeter of the feature.
SolidSweepDefinition Read-write property that gets and sets the SolidSweepDefinition object associated with this sweep feature.
Suppressed Gets and sets whether this feature is suppressed or not.
SurfaceBodies Property that returns the bodies that this feature has created or modified.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

PathAndGuideRailSweepDef.Parent, PathAndGuideSurfaceSweepDef.Parent, PathAndSectionTwistsSweepDef.Parent, PathSweepDef.Parent, SolidSweepDefinition.Parent, SweepDefinition.Parent, SweepFeatureProxy.NativeObject, SweepFeatures.Add, SweepFeatures.AddSolidSweep, SweepFeatures.Item

Derived Classes

SweepFeatureProxy

Version

Introduced in version 5

Was this information helpful?