Properties
- Property Depth() As (Read Only)
-
Returns the hole depth.
- Returns:
- oDepth A CATIALength object controlling the hole depth
(@see CATIALength for more information)
- Example:
- The following example returns in holeDepth the depth of
hole firstHole:
Set holeDepth = firstHole.Depth
- Property Diameter() As (Read Only)
-
Returns the hole diameter.
- Returns:
- oDiameter A CATIALength object controlling the hole diameter
(@see CATIALength for more information)
- Example:
- The following example returns in holeDiam the diameter of
hole firstHole:
Set holeDiam = firstHole.Diameter
Methods
- Sub GetDirection( oX, oY, oZ)
-
Returns the hole direction with absolute coordinates.
- Returns:
- 3 doubles: X, Y, Z - direction coordinates
- Example:
- The following example returns in X, Y, Z the direction coordinates
of hole firstHole:
call firstHole.GetDirection(X,Y,Z)
- Sub GetOrigin( oX, oY, oZ)
-
Returns the origin point which the hole is anchored to.
- Returns:
- 3 doubles: X, Y, Z - Hole origin point coordinates
- Example:
- The following example returns in X, Y, Z the origin coordinates of
hole firstHole:
call firstHole.GetOrigin(X,Y,Z)