It threads or taps cylindrical surface .
Properties
- 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
- 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
- Property LateralFaceElement() As
-
Returns or sets the lateral face (must be cylindrical) .
To set the property, you can use the following object: . - Property LimitFaceElement() As
-
Returns or sets the limit face (must be planar ) .
To set the property, you can use the following object: . - 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
- Property Side() As
-
Returns the thread or tap side.
- Returns:
- oThreadSide The thread/tap side (see
for list of possible sides)
- Example:
- The following example returns in ThreadSide the thread/tap side of
thread firstthread:
Set ThreadSide = firstthreadoThreadSide
- 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
for more information)
- Example:
- The following example returns in threadDescription the thread description (M12 etc) of
thread firstthread:
Set threadDescription = firstthread.ThreadDescription
Methods
- Sub CreateStandardThreadDesignTable( iStandardType)
-
Creates a Standard Thread design table .
- Parameters:
-
- iStandardType
- Standard type for thread (see
for list of possible types)
- Example:
- The following example creates a standard table for MetricThinPitch for
thread firstthread:
firstthread.CreateStandardThreadDesignTable catMetricThinPitch
- 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. dd>
- 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"
- Sub ReverseDirection()
- Swap the direction of the thread or the tap.
- 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
for list of possible types)
- Example:
- The following example sets the thread polarity to Tap explicitly
thread firstthread:
firstthread.SetExplicitPolarity catTap