pycatia.sketcher_interfaces.point_2D

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

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.sketcher_interfaces.point_2D.Point2D(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
SketcherInterfaces.GeometricElement
SketcherInterfaces.Geometry2D
Point2D

Class defining a point in 2D Space.
get_coordinates() tuple

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub GetCoordinates(CATSafeArrayVariant oPoint)

Returns the coordinates of the point

Parameters:

oPoint[0]
The X Coordinate of the point
oPoint[1]
The Y Coordinate of the point
Return type:

tuple

set_data(i_x: float, i_y: float) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub SetData(double iX,
double iY)

Modifies the coordinates of the point

Parameters:

iX
The X Coordinate of the point
iY
The Y Coordinate of the point
Parameters:
  • i_x (float) –

  • i_y (float) –

Return type:

None