pycatia.drafting_interfaces.drawing_arrows¶
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.drafting_interfaces.drawing_arrows.DrawingArrows(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionDrawingArrowsA collection of all the drawing arrows currently managed by a drawing view ofdrawing sheet in a drawing document.- add(i_head_point_x: float, i_head_point_y: float, i_tail_point_x: float, i_tail_point_y: float) DrawingArrow ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func Add(double iHeadPointX,double iHeadPointY,double iTailPointX,double iTailPointY) As DrawingArrowCreates a drawing arrow and adds it to the DrawingArrowscollection.Parameters:iHeadPointX,iHeadPointYThe x and y coordinates of head side of drawing arrowiTailPointX,iTailPointYThe x and y coordinates of tail side of drawing arrowReturns:The created drawing arrowExample:The following example creates a drawing arrow and retrieved in MyArrow inthe drawing view collection of the MyView drawing view. This view belongs tothe drawing view collection of the drawing sheetDim MyView As DrawingViewSet MyView = MySheet.Views.ActiveViewDim MyArrow As DrawingArrowSet MyArrow = MyView.Arrows.Add(0., 0., 20., 50)
- Parameters:
i_head_point_x (float) –
i_head_point_y (float) –
i_tail_point_x (float) –
i_tail_point_y (float) –
- Return type:
- item(i_index: int) DrawingArrow ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func Item(long iIndex) As DrawingArrowReturns a drawing arrow using its index from the DrawingArrowscollection.Parameters:iIndexThe index of the drawing arrow to retrieve from the collection ofdrawing arrows. As a numerics, this index is the rank of the drawing arrow inthe collection. The index of the first drawing arrow in the collection is 1,and the index of the last drawing arrow is Count.Returns:The retrieved drawing viewExample:This example retrieves in ThisDrawingArrow the second drawing arrow, inthe drawing view collection of the active view in the active sheet, in theactive document supposed to be a drawing document.Dim MyView As DrawingViewSet MyView = MySheet.Views.ActiveViewDim ThisDrawingArrow As DrawingArrowSet ThisDrawingArrow = MyView.Arrows.Item(2)
- Parameters:
i_index (int) –
- Return type:
- remove(i_index: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub Remove(long iIndex)Removes a drawing arrow from the DrawingArrows collection.Parameters:iIndexThe index of the drawing arrow to remove from the collection ofdrawing arrows. As a numerics, this index is the rank of the drawing arrow inthe collection. The index of the first drawing arrow in the collection is 1,and the index of the last drawing arrow is Count.Example:The following example removes the third drawing arrow in the drawingarrow collection of the active view of the active document, supposed to be adrawing document.Dim MyView As DrawingViewSet MyView = MySheet.Views.ActiveViewMyView.DrawingArrows.Remove(3)
- Parameters:
i_index (int) –
- Return type:
None