Indexes   

ManufacturingHole (Object)

Hole Feature in Machining domain.

Property Index

Depth
Returns the hole depth.
Diameter
Returns the hole diameter.

Method Index

GetDirection
Returns the hole direction with absolute coordinates.
GetOrigin
Returns the origin point which the hole is anchored to.

Properties


o 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
o 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


o 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)
o 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)

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