Share

ThreadFeature Object

Derived from: PartFeature Object

Description

The ThreadFeature object represents thread 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.
SetThreadDepth Method that sets the thread depth for the thread 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.
DirectionReversed Property that gets and sets whether the direction of the thread is in the default direction or reversed.
DisplayInModel Property that gets and sets whether the threads are displayed on the part when viewed in any of the 3d environments, i.e. part or assembly.
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.
FullDepth Property that gets and sets whether the threads extend the full length of the cylinder or cone. If True, they extend the full length. If False, the depth is controlled by the value of the ThreadDepth property
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.
StartEdge Property that returns the thread depth is measured from.
Suppressed Gets and sets whether this feature is suppressed or not.
SurfaceBodies Property that returns the bodies that this feature has created or modified.
ThreadDepth Property that returns the parameter that controls the depth of the thread. Even though the parameter for the thread depth is always created and accessible through this property, it is only used in the case where the FullDepth property is False.
ThreadedFace Property that returns the set of that the thread is applied to. Usually this is just the face that was input for application of the thread feature, but in the case where the original face has been cut by subsequent features, the multiple resulting faces will be returned.
ThreadInfo Property that gets and sets the thread information of the feature. This can return either a StandardThreadInfo or TaperedThreadInfo object. The ThreadType property can be used to determine the type before getting the thread info.
ThreadInfoType Property that returns a indicating the thread type.
ThreadOffset Property that gets the parameter that controls the offset value of the thread. The offset is the distance along the axis of the cylinder or cone from the start edge to the start of the thread.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

ThreadFeatureProxy.NativeObject, ThreadFeatures.Add, ThreadFeatures.Item

Derived Classes

ThreadFeatureProxy

Samples

Name Description
Thread Feature Create This sample demonstrates the creation of a thread feature. It creates a cylinder in a new part document and creates a thread feature on the cylinder.
Edit thread features The following example demonstrates how to edit an existing thread feature.

Version

Introduced in version 5

Was this information helpful?