pycatia.cat_sch_platform_interfaces.sch_app_component¶
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_app_component.SchAppComponent(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchAppComponentRepresents an application component object.- app_create_component_inst() AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AppCreateComponentInst() As AnyObjectCreate a component instance.Parameters:oNewAppCompInstInterface pointer (CATISchAppComponent) to the new applicationcomponent instance placed.Example:Dim objThisIntf As SchAppComponentDim objArg1 As AnyObject…Set objArg1 = objThisIntf.AppCreateComponentInst
- Return type:
- app_create_local_reference(i_doc_to_copy_to: Document) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AppCreateLocalReference(Document iDocToCopyTo) AsAnyObjectCreate Local Reference object. Given a reference object (the “this”), Thismethod make a copy of the reference into another document.Parameters:iDocToCopyToPointer to a document to copy the reference to,oNewAppCompRefInterface pointer (CATISchAppComponent) to the new applicationcomponent Reference copied.Example:Dim objThisIntf As SchAppComponentDim objArg1 As DocumentDim objArg2 As AnyObject…Set objArg2 = objThisIntf.AppCreateLocalReference(objArg1)
- app_get_default_grr_name(o_grr_default_name: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppGetDefaultGRRName(CATBSTR oGRRDefaultName)Get the default graphical representation names of an applicationcomponent.Parameters:oGRRDefaultNameThe default name to be used for the graphical representation of acomponentExample:Dim objThisIntf As SchAppComponentDim strVar1 As String…objThisIntf.AppGetDefaultGRRNamestrVar1
- Parameters:
o_grr_default_name (str) –
- Return type:
None
- app_list_grr_names() SchListOfBSTRs ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AppListGRRNames() As SchListOfBSTRsFind all the valid graphical representation names of an applicationcomponent.Parameters:oLGRRNamesA list of all the valid graphical representation names with thisconnector for connections.Example:Dim objThisIntf As SchAppComponentDim objArg1 As SchListOfBSTRs…Set objArg1 = objThisIntf.AppListGRRNames
- Return type:
- app_ok_to_flip_connected(o_b_yes: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppOKToFlipConnected(boolean oBYes)Query whether it is OK to reconnect a component to a different compatibleconfiguration.Parameters:oBYesIf TRUE, then it is OK to flip the component.Example:Dim objThisIntf As SchAppComponentDim bVar1 As boolean…objThisIntf.AppOKToFlipConnectedbVar1
- Parameters:
o_b_yes (bool) –
- Return type:
None
- app_ok_to_flip_horizontal(o_b_yes: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppOKToFlipHorizontal(boolean oBYes)Query whether it is OK to flip the application component aboutY.Parameters:oBYesIf TRUE, then it is OK to flip the component.Example:Dim objThisIntf As SchAppComponentDim bVar1 As boolean…objThisIntf.AppOKToFlipHorizontalbVar1
- Parameters:
o_b_yes (bool) –
- Return type:
None
- app_ok_to_flip_on_line(o_b_yes: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppOKToFlipOnLine(boolean oBYes)Query whether it is OK to flip a component about its insertedline.Parameters:oBYesIf TRUE, then it is OK to flip the component.Example:Dim objThisIntf As SchAppComponentDim bVar1 As boolean…objThisIntf.AppOKToFlipOnLinebVar1
- Parameters:
o_b_yes (bool) –
- Return type:
None
- app_ok_to_flip_vertical(o_b_yes: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppOKToFlipVertical(boolean oBYes)Query whether it is OK to flip the application component aboutX.Parameters:oBYesIf TRUE, then it is OK to flip the component.Example:Dim objThisIntf As SchAppComponentDim bVar1 As boolean…objThisIntf.AppOKToFlipVerticalbVar1
- Parameters:
o_b_yes (bool) –
- Return type:
None
- app_ok_to_place_in_space(o_b_yes: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppOKToPlaceInSpace(boolean oBYes)Query whether the application component can be placed in freespace.Parameters:oBYesIf TRUE, the component can be slided.Example:Dim objThisIntf As SchAppComponentDim bVar1 As boolean…objThisIntf.AppOKToPlaceInSpacebVar1
- Parameters:
o_b_yes (bool) –
- Return type:
None
- app_ok_to_scale(o_b_yes: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppOKToScale(boolean oBYes)Query whether it is OK to scale the application component.Parameters:oBYesIf TRUE, then it is OK to scale the component.Example:Dim objThisIntf As SchAppComponentDim bVar1 As boolean…objThisIntf.AppOKToScalebVar1
- Parameters:
o_b_yes (bool) –
- Return type:
None
- app_ok_to_slide(o_b_yes: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppOKToSlide(boolean oBYes)Query whether the application component can be slided.Parameters:oBYesIf TRUE, the component can be slided.Example:Dim objThisIntf As SchAppComponentDim bVar1 As boolean…objThisIntf.AppOKToSlidebVar1
- Parameters:
o_b_yes (bool) –
- Return type:
None
- app_ok_to_uninsert(o_b_yes: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppOKToUninsert(boolean oBYes)Query whether it is OK to uninsert the applicationcomponent.Parameters:oBYesIf TRUE, then it is OK to uninsert the component.Example:Dim objThisIntf As SchAppComponentDim bVar1 As boolean…objThisIntf.AppOKToUninsertbVar1
- Parameters:
o_b_yes (bool) –
- Return type:
None
- app_post_flip_connected_process() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppPostFlipConnectedProcess()Post process after reconnecting a component to a different compatibleconfiguration.Example:Dim objThisIntf As SchAppComponent…objThisIntf.AppPostFlipConnectedProcess
- Return type:
None
- app_post_flip_horizontal_process() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppPostFlipHorizontalProcess()Post process after flipping a component in “x”.Example:Dim objThisIntf As SchAppComponent…objThisIntf.AppPostFlipHorizontalProcess
- Return type:
None
- app_post_flip_on_line_process() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppPostFlipOnLineProcess()Post process after flipping an inserted component about the inserted linesegment of the route.Example:Dim objThisIntf As SchAppComponent…objThisIntf.AppPostFlipOnLineProcess
- Return type:
None
- app_post_flip_vertical_process() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppPostFlipVerticalProcess()Post process after flipping a component in “y”.Example:Dim objThisIntf As SchAppComponent…objThisIntf.AppPostFlipVerticalProcess
- Return type:
None
- app_post_place_process(i_new_comp_inst: SchComponent, i_cntbl_connected_to: SchAppConnectable) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppPostPlaceProcess(SchComponent iNewCompInst,SchAppConnectable iCntblConnectedTo)Post process after placing an application componentinstance.Parameters:iNewCompInstThe newly placed component instance (CATISchComponent interfacepointer).iCntbleConnectedToThe connectable that the placed component is connected to or placedontoExample:Dim objThisIntf As SchAppComponentDim objArg1 As SchComponentDim objArg2 As SchAppConnectable…objThisIntf.AppPostPlaceProcessobjArg1,objArg2
- Parameters:
i_new_comp_inst (SchComponent) –
i_cntbl_connected_to (SchAppConnectable) –
- Return type:
None
- app_post_slide_process() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppPostSlideProcess()Post process after sliding a component.Example:Dim objThisIntf As SchAppComponent…objThisIntf.AppPostSlideProcess
- Return type:
None
- app_post_switch_graphic_process(i_grr: SchGRR) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppPostSwitchGraphicProcess(SchGRR iGRR)Post process after switching a component’s graphicrepresentation.Example:Dim objThisIntf As SchAppComponentDim objArg1 As SchGRR…objThisIntf.AppPostSwitchGraphicProcessobjArg1
- Parameters:
i_grr (SchGRR) –
- Return type:
None
- app_post_uninsert_process(i_old_app_route1: SchRoute, i_old_app_route2: SchRoute, i_new_app_route: SchRoute) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppPostUninsertProcess(SchRoute iOldAppRoute1,SchRoute iOldAppRoute2,SchRoute iNewAppRoute)Post process after uninserting a component, disconnecting it from aroute.Parameters:iOldAppRoute1One of the route that was connected to one connector of theinserted component before the operation.iOldAppRoute2The other route that was connected to the other connector of theinserted component before the operation. This would be NULL if the componentwas connected at extremity.iNewAppRouteThe new route created after the operation. This would be NULL ifthe component was connected at extremity.Example:Dim objThisIntf As SchAppComponentDim objArg1 As SchRouteDim objArg2 As SchRouteDim objArg3 As SchRoute…objThisIntf.AppPostUninsertProcessobjArg1,objArg2,objArg3