All Frameworks  Object Hierarchy  This Framework  Indexes   

Thread (Object)

Represents the Thread feature.
It threads or taps cylindrical surface .

Property Index

Depth
Returns the thread/tap depth.
Diameter
Returns the thread/tap diameter.
LateralFaceElement
Returns or sets the lateral face (must be cylindrical) .
LimitFaceElement
Returns or sets the limit face (must be planar ) .
Pitch
Returns the thread/tap pitch.
Side
Returns the thread or tap side.
ThreadDescription
Returns the thread/tap description parameter.

Method Index

CreateStandardThreadDesignTable
Creates a Standard Thread design table .
CreateUserStandardDesignTable
Creates a UserStandard Thread design table .
ReverseDirection
Swap the direction of the thread or the tap.
SetExplicitPolarity
Sets the thread polarity explicit.

Properties


o Property Depth() As
Returns the thread/tap depth.
Returns:
oDepth Value of the thread/tap depth
Example:
The following example returns in Depth the depth of thread firstthread:
 Set Depth = firstthread.Depth
o Property Diameter() As
Returns the thread/tap diameter.
Returns:
oDiameter Value of the thread/tap diameter
Example:
The following example returns in ThreadDiameter the diameter of thread firstthread:
 Set ThreadDiameter = firstthread.Diameter
o Property LateralFaceElement() As
Returns or sets the lateral face (must be cylindrical) .
To set the property, you can use the following
Boundary object: Face.
o Property LimitFaceElement() As
Returns or sets the limit face (must be planar ) .
To set the property, you can use the following
Boundary object: PlanarFace.
o Property Pitch() As
Returns the thread/tap pitch.
Returns:
oPitch Value of the thread/tap pitch
Example:
The following example returns in ThreadPitch the thread pitch of thread firstthread:
 Set ThreadPitch = firstthread.ThreadPitch
o Property Side() As
Returns the thread or tap side.
Returns:
oThreadSide The thread/tap side (see CatThreadSide for list of possible sides)
Example:
The following example returns in ThreadSide the thread/tap side of thread firstthread:
 Set ThreadSide = firstthreadoThreadSide
o Property ThreadDescription() As (Read Only)
Returns the thread/tap description parameter. This call is valid only when a standard/user design table created
Returns:
oThreadDescParam A Parameter object controlling the thread/tap description (see StrParam for more information)
Example:
The following example returns in threadDescription the thread description (M12 etc) of thread firstthread:
 Set threadDescription = firstthread.ThreadDescription

Methods


o Sub CreateStandardThreadDesignTable( iStandardType)
Creates a Standard Thread design table .
Parameters:
iStandardType
Standard type for thread (see
CatThreadStandard for list of possible types)
Example:
The following example creates a standard table for MetricThinPitch for thread firstthread:
 firstthread.CreateStandardThreadDesignTable catMetricThinPitch
o Sub CreateUserStandardDesignTable( iStandardName,
iPath)
Creates a UserStandard Thread design table .
Parameters:
iStandardName
Name of the UserStandard thread. iStandardName should be empty if filepath is to be defined.
iPath
Path of the UserStandard file. iPath is empty if the filepath is already defined through CATReffilesPath.
Example1:
The following example creates a standard table for UserStandard for thread firstThread. The file path is already defined thru CATReffilesPath:
 firstThread.CreateUserStandardDesignTable "UserStandard",""
Example2:
The following example creates a standard table for UserStandard for thread firstThread when file path is not defined thru CATReffilesPath:
 firstThread.CreateUserStandardDesignTable "","E:\user\standard\UserStandard.txt"
o Sub ReverseDirection()
Swap the direction of the thread or the tap.
o Sub SetExplicitPolarity( iThreadPolarity)
Sets the thread polarity explicit. Thread polarity is no more evaluated implicitly on basis of support face polarity
Parameters:
iThreadPolarity
Standard type for thread (see
CatThreadPolarity for list of possible types)
Example:
The following example sets the thread polarity to Tap explicitly thread firstthread:
 firstthread.SetExplicitPolarity catTap

Copyright © 2003, Dassault Systèmes. All rights reserved.