pycatia.manufacturing_interfaces.manufacturing_hole

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.manufacturing_interfaces.manufacturing_hole.ManufacturingHole(com_object)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
ManufacturingHole

Hole Feature in Machining domain.
property depth: Length

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property Depth() As Length (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
Return type:

Length

property diameter: Length

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property Diameter() As Length (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
Return type:

Length

get_direction(o_x: float, o_y: float, o_z: float) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetDirection(double oX,
double oY,
double 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)
Parameters:
  • o_x (float) –

  • o_y (float) –

  • o_z (float) –

Return type:

None

get_origin(o_x: float, o_y: float, o_z: float) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetOrigin(double oX,
double oY,
double 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)
Parameters:
  • o_x (float) –

  • o_y (float) –

  • o_z (float) –

Return type:

None