PartFeature Object
Description
The PartFeature object is the base class for all part modeling features.Methods
Name | Description |
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. |
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. |
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. |
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
AliasFreeformFeature.OwnedBy, AliasFreeformFeatureProxy.OwnedBy, AngleExtent.Parent, BendFeature.OwnedBy, BendFeatureProxy.OwnedBy, BendPartFeature.OwnedBy, BendPartFeatureProxy.OwnedBy, BossFeature.OwnedBy, BossFeatureProxy.OwnedBy, BoundaryPatchFeature.OwnedBy, BoundaryPatchFeatureProxy.OwnedBy, CenteredWidthExtent.Parent, ChamferDefinition.Parent, ChamferFeature.OwnedBy, ChamferFeatureProxy.OwnedBy, CircularPatternFeature.OwnedBy, CircularPatternFeatureProxy.OwnedBy, ClientFeature.OwnedBy, ClientFeatureProxy.OwnedBy, CoilFeature.OwnedBy, CoilFeatureProxy.OwnedBy, CombineFeature.OwnedBy, CombineFeatureProxy.OwnedBy, ContourFlangeFeature.OwnedBy, ContourFlangeFeatureProxy.OwnedBy, ContourRollFeature.OwnedBy, ContourRollFeatureProxy.OwnedBy, CoreCavityFeature.OwnedBy, CoreCavityFeatureProxy.OwnedBy, CornerChamferFeature.OwnedBy, CornerChamferFeatureProxy.OwnedBy, CornerFeature.OwnedBy, CornerFeatureProxy.OwnedBy, CornerRoundFeature.OwnedBy, CornerRoundFeatureProxy.OwnedBy, CosmeticBendFeature.OwnedBy, CosmeticBendFeatureProxy.OwnedBy, CutAcrossBendsExtent.Parent, CutFeature.OwnedBy, CutFeatureProxy.OwnedBy, DecalFeature.OwnedBy, DecalFeatureProxy.OwnedBy, DeleteFaceFeature.OwnedBy, DeleteFaceFeatureProxy.OwnedBy, DirectEditFeature.OwnedBy, DirectEditFeatureProxy.OwnedBy, DistanceAndAngleChamferDef.Parent, DistanceChamferDef.Parent, DistanceExtent.Parent, DistanceFromFaceExtent.Parent, DistanceHeightExtent.Parent, EdgeWidthExtent.Parent, EmbossFeature.OwnedBy, EmbossFeatureProxy.OwnedBy, ExtendFeature.OwnedBy, ExtendFeatureProxy.OwnedBy, ExtrudeFeature.OwnedBy, ExtrudeFeatureProxy.OwnedBy, Face.CreatedByFeature, FaceDraftFeature.OwnedBy, FaceDraftFeatureProxy.OwnedBy, FaceFeature.OwnedBy, FaceFeatureProxy.OwnedBy, FaceOffsetFeature.OwnedBy, FaceOffsetFeatureProxy.OwnedBy, FaceProxy.CreatedByFeature, FeatureDimension.Parent, FeatureDimensionProxy.Parent, FeaturePatternElement.Parent, FeaturePatternElementProxy.Parent, Features.Item, FilletFeature.OwnedBy, FilletFeatureProxy.OwnedBy, FinishFeature.OwnedBy, FinishFeatureProxy.OwnedBy, FlangeFeature.OwnedBy, FlangeFeatureProxy.OwnedBy, FlatPatternFeatures.Item, FoldFeature.OwnedBy, FoldFeatureProxy.OwnedBy, FreeformFeature.OwnedBy, FreeformFeatureProxy.OwnedBy, FromToExtent.Parent, FromToWidthExtent.Parent, FullSweepExtent.Parent, GrillFeature.OwnedBy, GrillFeatureProxy.OwnedBy, HemFeature.OwnedBy, HemFeatureProxy.OwnedBy, HoleFeature.OwnedBy, HoleFeatureProxy.OwnedBy, iFeature.OwnedBy, iFeatureProxy.OwnedBy, KnitFeature.OwnedBy, KnitFeatureProxy.OwnedBy, LegacyDistanceHeightExtent.Parent, LipFeature.OwnedBy, LipFeatureProxy.OwnedBy, LoftedFlangeFeature.OwnedBy, LoftedFlangeFeatureProxy.OwnedBy, LoftFeature.OwnedBy, LoftFeatureProxy.OwnedBy, MarkFeature.OwnedBy, MarkFeatureProxy.OwnedBy, MidSurfaceFeature.OwnedBy, MidSurfaceFeatureProxy.OwnedBy, MirrorFeature.OwnedBy, MirrorFeatureProxy.OwnedBy, MoveFaceFeature.OwnedBy, MoveFaceFeatureProxy.OwnedBy, MoveFeature.OwnedBy, MoveFeatureProxy.OwnedBy, NonParametricBaseFeature.OwnedBy, NonParametricBaseFeatureProxy.OwnedBy, OffsetFromFaceExtent.Parent, OffsetWidthExtent.Parent, PartFeature.OwnedBy, PartFeatureExtent.Parent, PartFeatures.Item, PartFeaturesEnumerator.Item, PitchAndHeightCoilExtent.Parent, PitchAndRevolutionCoilExtent.Parent, PlanarSketch.OwnedBy, PlanarSketchProxy.OwnedBy, PunchToolFeature.OwnedBy, PunchToolFeatureProxy.OwnedBy, RectangularPatternFeature.OwnedBy, RectangularPatternFeatureProxy.OwnedBy, ReferenceFeature.OwnedBy, ReferenceFeatureProxy.OwnedBy, RefoldFeature.OwnedBy, RefoldFeatureProxy.OwnedBy, ReplaceFaceFeature.OwnedBy, ReplaceFaceFeatureProxy.OwnedBy, RestFeature.OwnedBy, RestFeatureProxy.OwnedBy, RevolutionAndHeightCoilExtent.Parent, RevolveFeature.OwnedBy, RevolveFeatureProxy.OwnedBy, RibFeature.OwnedBy, RibFeatureProxy.OwnedBy, RipFeature.OwnedBy, RipFeatureProxy.OwnedBy, RuledSurfaceFeature.OwnedBy, RuledSurfaceFeatureProxy.OwnedBy, RuleFilletFeature.OwnedBy, RuleFilletFeatureProxy.OwnedBy, SculptFeature.OwnedBy, SculptFeatureProxy.OwnedBy, SheetMetalFeatures.Item, ShellFeature.OwnedBy, ShellFeatureProxy.OwnedBy, Sketch3D.OwnedBy, Sketch3DProxy.OwnedBy, SketchBlockDefinition.OwnedBy, SketchBlockDefinitionProxy.OwnedBy, SketchDrivenPatternFeature.OwnedBy, SketchDrivenPatternFeatureProxy.OwnedBy, SnapFitFeature.OwnedBy, SnapFitFeatureProxy.OwnedBy, SpiralCoilExtent.Parent, SplitFeature.OwnedBy, SplitFeatureProxy.OwnedBy, SurfaceBody.CreatedByFeature, SurfaceBodyProxy.CreatedByFeature, SweepFeature.OwnedBy, SweepFeatureProxy.OwnedBy, ThickenFeature.OwnedBy, ThickenFeatureProxy.OwnedBy, ThreadFeature.OwnedBy, ThreadFeatureProxy.OwnedBy, ThroughAllExtent.Parent, ToExtent.Parent, ToHeightExtent.Parent, ToNextExtent.Parent, TrimFeature.OwnedBy, TrimFeatureProxy.OwnedBy, TwoDistancesChamferDef.Parent, UnfoldFeature.OwnedBy, UnfoldFeatureProxy.OwnedBy, UnwrapFeature.OwnedBy, UnwrapFeatureProxy.OwnedBy, UserCoordinateSystem.OwnedBy, UserCoordinateSystemProxy.OwnedBy, WidthOffsetWidthExtent.Parent, WorkAxis.OwnedBy, WorkAxisProxy.OwnedBy, WorkPlane.OwnedBy, WorkPlaneProxy.OwnedBy, WorkPoint.OwnedBy, WorkPointProxy.OwnedByDerived Classes
AliasFreeformFeature, BendFeature, BendPartFeature, BossFeature, BoundaryPatchFeature, ChamferFeature, CircularPatternFeature, ClientFeature, CoilFeature, CombineFeature, ContourFlangeFeature, ContourRollFeature, CornerChamferFeature, CornerFeature, CornerRoundFeature, CosmeticBendFeature, CutFeature, DecalFeature, DeleteFaceFeature, DirectEditFeature, EmbossFeature, ExtendFeature, ExtrudeFeature, FaceDraftFeature, FaceFeature, FilletFeature, FinishFeature, FlangeFeature, FoldFeature, FreeformFeature, GrillFeature, HemFeature, HoleFeature, KnitFeature, LipFeature, LoftedFlangeFeature, LoftFeature, MarkFeature, MirrorFeature, MoveFaceFeature, MoveFeature, NonParametricBaseFeature, PunchToolFeature, RectangularPatternFeature, ReferenceFeature, RefoldFeature, ReplaceFaceFeature, RestFeature, RevolveFeature, RibFeature, RipFeature, RuledSurfaceFeature, RuleFilletFeature, SculptFeature, ShellFeature, SketchDrivenPatternFeature, SnapFitFeature, SplitFeature, SweepFeature, ThickenFeature, ThreadFeature, TrimFeature, UnfoldFeature, UnwrapFeatureSamples
Name | Description |
Highlight Feature Faces | This sample highlights the faces of an extrusion, revolution, or hole feature. It differentiates the faces on the start cap, end cap, and side faces by highlighting them in different colors. The HighlightFeatureFaces sub highlights the feature faces. Since the highlight set objects are declared outside of this sub, the highlighting remains after the sub has finished executing. Use the ClearHighlight sub to clear the highlighting that does so by releasing the HighlightSet objects. |
Create sheet metal rip feature | This sample demonstrates the creation of a rip sheet metal feature. |
Sheet Metal Feature Display | This sample illustrates getting basic information from the various sheet metal features. |