pycatia.cat_plant_ship_interfaces.psp_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_plant_ship_interfaces.psp_connector.PSPConnector(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPspConnectorRepresents connector object.Role: To specify connector behaviors such as connect anddisconnect.- property attr_names: PSPListOfBSTRs¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AttrNames() As PspListOfBSTRsReturns or Sets Attribute names of the connector.Example:Dim objThisIntf As PspConnectorDim ojArg1 As CATIAPspListOfBSTRs…Set ojArg1 = objThisIntf.AttrNames
- Return type:
- connect(i_cntr_to_connect: PSPConnector) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Connect(PspConnector iCntrToConnect)Connect the connector to another connector.Parameters:iCntrToConnectthe connector to be connected toExample:Dim objThisIntf As PspConnectorDim objArg1 As PspConnector…objThisIntf.Connect objArg1
- Parameters:
i_cntr_to_connect (PSPConnector) –
- Return type:
None
- property connector_name: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ConnectorName() As CATBSTRReturns or sets name of the connector.Example:Dim objThisIntf As PspConnectorDim strVar1 As CATBSTR…Set strVar1 = objThisIntf.NameDim strVar1 As CATBSTR…objThisIntf.ConnectorName = strVar2
- Return type:
str
- disconnect(i_cntr_to_disconnect: PSPConnector) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Disconnect(PspConnector iCntrToDisconnect)DisConnect the connector from another connector.Parameters:iCntrToDisconnectThe connector to be disconnected fromExample:Dim objThisIntf As PspConnectorDim objArg1 As PspConnector…objThisIntf.Disconnect objArg1
- Parameters:
i_cntr_to_disconnect (PSPConnector) –
- Return type:
None
- get_associated_connectable() PSPConnectable ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetAssociatedConnectable() As PspConnectableGet the connectable-owner of this connector.Parameters:oConnectableConnectable owner of this connectorExample:Dim objThisIntf As PspConnectorDim objArg1 As CATIAPspConnectable…Set objArg1 = objThisIntf.GetAssociatedConnectable
- Return type:
- is_cntr_connected() bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func IsCntrConnected() As booleanQuery whether the connector has been connected.Returns:TRUE if this connector is connected.Example:Dim objThisIntf As PspConnectorDim bArg1 As boolean…bArg1 = objThisIntf.IsCntrConnected
- Return type:
bool