pycatia.cat_sch_platform_interfaces.sch_route_alternate_graphic¶
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.cat_sch_platform_interfaces.sch_route_alternate_graphic.SchRouteAlternateGraphic(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchRouteAlternateGraphicManage alternative graphical primitives of a schematic route.- add_alternate_graphic(i_initial_xy_position: tuple, o_added_grr: SchGRR) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddAlternateGraphic(CATSafeArrayVariantiInitialXYPosition,SchGRR oAddedGRR)Add an alternate graphical primitive to a route. The alternate graphicalstyle is determined by the application. on the Schematic component in order tospecify the graphic style. on the Schematic component in order to identify thecomponent as an assembly.Parameters:iInitialXYPositionThe initial position for calculating the display of the graphic. IfNULL, the start point will be calculated based on the route graphic path of thefirst assembly member to this Schematic component.oAddedGRRThe route alternate graphical primitive that is added to the route.Example:Dim objThisIntf As SchRouteAlternateGraphicDim dbVar1(x) As CATSafeArrayVariantDim objArg2 As SchGRR…objThisIntf.AddAlternateGraphicdbVar1,objArg2
- Parameters:
i_initial_xy_position (tuple) –
o_added_grr (SchGRR) –
- Return type:
tuple
- list_alternate_graphics() SchListOfObjects ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ListAlternateGraphics() As SchListOfObjectsLists the alternate graphics of a route. The list contains all objects ofthe same alternate graphic style. The style is determined must be implementedon the Schematic component in order to specify the graphicstyle.Parameters:oLGRRA list of the alternate graphic objects.Example:Dim objThisIntf As SchRouteAlternateGraphicDim objArg1 As SchListOfObjects…Set objArg1 = objThisIntf.ListAlternateGraphics
- Return type:
- remove_all_alternate_graphics() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveAllAlternateGraphics()Removes all alternate graphical primitives.Example:Dim objThisIntf As SchRouteAlternateGraphic…objThisIntf.RemoveAllAlternateGraphics
- Return type:
None
- remove_all_alternate_graphics_of_style(i_style: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveAllAlternateGraphicsOfStyle(CatSchIDLRouteAlternateGraphicStyleiStyle)Removes all alternate graphical primitives of the givenstyle.Parameters:iStyleAn enum of the style of alternate graphic to remove.Example:Dim objThisIntf As SchRouteAlternateGraphic…objThisIntf.RemoveAllAlternateGraphicsOfStyleCatSchIDLRouteAlternateGraphicStyle_Enum
- Parameters:
i_style (int) – enum cat_sch_idl_route_alternate_graphic_style
- Return type:
None
- remove_alternate_graphic(i_grr_to_be_removed: SchGRR) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveAlternateGraphic(SchGRR iGRRToBeRemoved)Remove an alternate graphical primitive from a route.Parameters:iGRRToBeRemovedThe route alternate graphic to be removed from the route. The inputgraphic will be removed as long as there are at least two alternate graphics ofthat style on the route.Example:Dim objThisIntf As SchRouteAlternateGraphicDim objArg1 As SchGRR…objThisIntf.RemoveAlternateGraphicobjArg1
- Parameters:
i_grr_to_be_removed (SchGRR) –
- Return type:
None