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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectManufacturingHoleHole 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 (@seeCATIALength for more information)Example:The following example returns in holeDepth the depth of holefirstHole:Set holeDepth = firstHole.Depth
- Return type:
- 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 (@seeCATIALength for more information)Example:The following example returns in holeDiam the diameter of holefirstHole:Set holeDiam = firstHole.Diameter
- Return type:
- 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 coordinatesExample:The following example returns in X, Y, Z the direction coordinatesof 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 coordinatesExample:The following example returns in X, Y, Z the origin coordinates ofhole firstHole:call firstHole.GetOrigin(X,Y,Z)
- Parameters:
o_x (float) –
o_y (float) –
o_z (float) –
- Return type:
None