SweepDefinition Object
Description
The SweepDefinition object is the base class that defines the variables for sweep features.
Methods
Copy |
Method that creates a copy of this SweepDefinition object. The new SweepDefinition object is independent of any feature. It can edited and used as input to edit an existing feature or to create a new Sweep feature. |
GetSectionTwists |
Method that gets the twisted sweep sections and the twist conditions at these sections. This method is applicable when the SweepType is kPathAndSectionTwistSweepType. |
SetSectionTwists |
Method that sets the twisted sweep sections and the twist conditions at these sections. This method is applicable when the SweepType is kPathAndSectionTwistSweepType. |
Properties
AffectedBodies |
Read-write property that gets and sets the collection of bodies affected by this feature. If this property is not set for multi-body parts, the default solid body is used as the affected body. This property applies only to features in a part. |
AffectedOccurrences |
Read-write property that gets and sets the collection of occurrences that should participate in this feature. If this property is not set, all possible occurrences will participate. This property applies only to features in an assembly. |
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. |
GuideRail |
Read-write property that gets and sets the guide rail for the sweep which is the guide curve that controls the scaling and twist of the sweep profile. This property is applicable when the SweepType is kPathAndGuideRailSweepType. |
GuideSurface |
Read-write property that gets and sets the guide surface the normal of which controls the twist of the swept profile about the path. This property is applicable when the SweepType is kPathAndGuideSurfaceSweepType. |
Operation |
Read-write property that gets and sets the type of operation used to add the feature to the model. |
Parent |
Property that returns the parent SweepFeature of the definition. |
Path |
Read-write property that gets and sets the entity that defines the path of the sweep. |
Profile |
Read-write property that gets and sets the profile object used to define the shape of the sweep. |
ProfileOrientation |
Read-write property that gets and sets the orientation of sweep profile. This property is applicable when the SweepType is kPathSweepType and kPathAndSectionTwistSweepType. |
ProfileScaling |
Read-write property that gets and sets the scaling direction for sweep profile. This property is applicable when the SweepType is kPathAndGuideRailSweepType. |
SweepType |
Read-write property that gets and sets the sweep type. When set this value the properties in this SweepDefinition which are not supported with the sweep type will be reset. |
TaperAngle |
Read-write property that gets and sets the taper angle of sweep. This property is applicable when the SweepType is kPathSweepType and kPathAndSectionTwistSweepType and when the ProfileOrientation is kNormalToPath. |
TwistAngle |
Read-write property that gets and sets the twist angle of sweep. This property is applicable when the SweepType is kPathSweepType and the ProfileOrientation is kNormalToPath. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
SweepDefinition.Copy,
SweepFeature.Definition,
SweepFeatureProxy.Definition,
SweepFeatures.CreateSweepDefinition
Version
Introduced in version 11