Name | Description |
classType | Static function that all classes support that returns the type of the class as a string. The returned string matches the string returned by the objectType property. For example if you have a reference to an object and you want to check if it's a SketchLine you can use myObject.objectType == fusion.SketchLine.classType(). |
create | This method creates a new ThreadInfo object that can be used to create a thread or tapped-hole feature. The ThreadInfo object defines the type and size of the thread to create. When creating a thread, the type and size of the thread are defined by specifying the thread type, designation, and class. Fusion uses this information to look up the full details of the thread in tables delivered with Fusion. The ThreadDataQuery object can be used to determine valid input for this information. The thread type implicitly defines if the thread is standard or tapered. Tapered threads can only be used when creating tapped holes and are not supported for thread features. |
redefine | Method that redefines an existing ThreadInfo object. This is typically used to change the thread of an existing thread or tapped hole. The ThreadInfo object defines the type and size of a thread by specifying the thread type, designation, and class. Fusion uses this information to look up the full details of the thread in tables delivered with Fusion. The ThreadDataQuery object can be used to determine valid input for this information. Tapered threads can only be used when creating or editing tapped holes and are not supported for thread features. |
Name | Description |
isInternal | Returns and sets if the thread is an internal or external thread. A value of true indicates an internal thread. It defaults to true. |
isRightHanded | Gets and sets if the thread is right or left-handed thread. A value of true indicates a right-handed thread. It defaults to true. |
isTapered | Indicates if this ThreadInfo object defines a standard or tapered thread. |
isValid | Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference. |
majorDiameter | Returns the value that defines the major diameter. The units are centimeters. |
minorDiameter | Returns the value that defines the minor diameter. The units are centimeters. |
objectType | This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object. It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType(): |
pitchDiameter | Returns the value that defines the pitch diameter. The units are centimeters. |
taperAngle | Returns the angle of the tapered thread in centimeters. This is only valid when isTapered is true. |
taperTapDrillDiameter | Returns the Diameter of the tap drill required to create this tap. This is only valid when isTapered is true. |
taperThreadHeight | Returns the height of a tapered thread in centimeters. This is only valid when isTapered is true. |
taperUsefulThreadLength | Returns the useful length of threads for a tapered thread in centimeters. This is only valid when isTapered is true. |
taperWrenchMakeupInternalDiameter | The wrench makeup internal diameter for a taper pipe thread, also known as the effective thread diameter, is the diameter at the point where the thread engagement occurs when the pipe is tightened with a wrench. This is only valid when isTapered is true. |
threadAngle | Returns the value that defines the thread angle. The units are degrees. |
threadClass | Returns and sets the string that defines the thread class. |
threadDesignation | Returns and sets the string that defines the thread designation. |
threadPitch | Returns the value that defines the thread pitch. The units are centimeters. |
threadSize | Returns the string that defines the thread size. |
threadType | Returns and sets the string that defines the thread type. |
Name | Description |
Thread Feature API Sample | Demonstrates creating a new thread feature. |