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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
SchCompConnector

Manage 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:

iClassType
Class type of the connector to be added.
iGRR
The graphical image of the component to add the connector to. If
NULL, connector will be added to all representations.

iDb2CntrPosition
The position of the connector (optional, it could be NULL).

oNewSchCntr
The new Schematic Connector object created.

Example:

Dim objThisIntf As SchCompConnector
Dim strVar1 As String
Dim objArg2 As SchGRRComp
Dim dbVar3(2) As CATSafeArrayVariant
Dim objArg4 As SchAppConnector

objThisIntf.AddConnectorstrVar1,objArg2,dbVar3,objArg4
Parameters:
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:

iClassType
Class type of the connector to be added.
iGRR
The graphical image of the component to add the connector to. If
NULL, connector will be added to all representations.

iDb2CntrPosition
The position of the connector (optional, it could be NULL).

oNewSchCntr
The new Schematic Connector object created.

Example:

Dim objThisIntf As SchCompConnector
Dim strVar1 As String
Dim objArg2 As SchGRRComp
Dim dbVar3(2) As CATSafeArrayVariant
Dim objArg4 As SchAppConnector
objThisIntf.AddDynamicConnectorstrVar1,objArg2,dbVar3,objArg4
Parameters:
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:

iCntrToRemove
The schematic connector object to be removed
iGRR
The graphical image of the component to remove the connector from.
If NULL, connector will be removed from all representations.

Example:

Dim objThisIntf As SchCompConnector
Dim objArg1 As SchGRRComp
Dim objArg2 As SchAppConnector
objThisIntf.RemoveConnectorobjArg1,objArg2
Parameters:
Return type:

None