pycatia.cat_sch_platform_interfaces.sch_comp_connector¶
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_comp_connector.SchCompConnector(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchCompConnectorManage the connectors of a schematic component.- add_connector(i_class_type: str, i_grr: SchGRRComp, i_db2_cntr_position: tuple, o_new_sch_cntr: SchAppConnector) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddConnector(CATBSTR iClassType,SchGRRComp iGRR,CATSafeArrayVariant iDb2CntrPosition,SchAppConnector oNewSchCntr)Add a connector.Parameters:iClassTypeClass type of the connector to be added.iGRRThe graphical image of the component to add the connector to. IfNULL, connector will be added to all representations.iDb2CntrPositionThe position of the connector (optional, it could be NULL).oNewSchCntrThe new Schematic Connector object created.Example:Dim objThisIntf As SchCompConnectorDim strVar1 As StringDim objArg2 As SchGRRCompDim dbVar3(2) As CATSafeArrayVariantDim objArg4 As SchAppConnector…objThisIntf.AddConnectorstrVar1,objArg2,dbVar3,objArg4
- Parameters:
i_class_type (str) –
i_grr (SchGRRComp) –
i_db2_cntr_position (tuple) –
o_new_sch_cntr (SchAppConnector) –
- Return type:
tuple
- add_dynamic_connector(i_class_type: str, i_grr: SchGRRComp, i_db2_cntr_position: tuple, o_new_sch_cntr: SchAppConnector) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddDynamicConnector(CATBSTR iClassType,SchGRRComp iGRR,CATSafeArrayVariant iDb2CntrPosition,SchAppConnector oNewSchCntr)Add a dynamic connector.Parameters:iClassTypeClass type of the connector to be added.iGRRThe graphical image of the component to add the connector to. IfNULL, connector will be added to all representations.iDb2CntrPositionThe position of the connector (optional, it could be NULL).oNewSchCntrThe new Schematic Connector object created.Example:Dim objThisIntf As SchCompConnectorDim strVar1 As StringDim objArg2 As SchGRRCompDim dbVar3(2) As CATSafeArrayVariantDim objArg4 As SchAppConnector…objThisIntf.AddDynamicConnectorstrVar1,objArg2,dbVar3,objArg4
- Parameters:
i_class_type (str) –
i_grr (SchGRRComp) –
i_db2_cntr_position (tuple) –
o_new_sch_cntr (SchAppConnector) –
- Return type:
tuple
- remove_connector(i_grr: SchGRRComp, i_cntr_to_remove: SchAppConnector) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveConnector(SchGRRComp iGRR,SchAppConnector iCntrToRemove)Remove a connector.Parameters:iCntrToRemoveThe schematic connector object to be removediGRRThe graphical image of the component to remove the connector from.If NULL, connector will be removed from all representations.Example:Dim objThisIntf As SchCompConnectorDim objArg1 As SchGRRCompDim objArg2 As SchAppConnector…objThisIntf.RemoveConnectorobjArg1,objArg2
- Parameters:
i_grr (SchGRRComp) –
i_cntr_to_remove (SchAppConnector) –
- Return type:
None