pycatia.cat_plant_ship_interfaces.psp_connectable¶
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_connectable.PSPConnectable(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPspConnectableRepresents an Interface to manage object behaviors in makingconnections.Role: To specify object behaviors such as adding a connector and removing aconnector.- property connectors: PSPListOfObjects¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Connectors() As PspListOfObjects (Read Only)Returns a list of connectors of the object.Example:Dim objThisIntf As PspConnectableDim objArg1 As CatPspIDLDomainIDDim objArg2 As PspListOfBSTRs…Set objArg2 = objThisIntf.Connectors
- Return type:
- get_connector_by_name(iu_connector_name: str) PSPConnector ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetConnectorByName(CATBSTR iuConnectorName) AsPspConnectorRetrieves a connector with the given name.Parameters:iConnectorNameConnector name to look for.Returns:Connector with given name.Example:Dim objThisIntf As PspConnectableDim strVar1 As PspListOfBSTRsDim objArg2 As PspConnector…Set objArg2 = objThisIntf.GetConnectorByName (strVar1)
- Parameters:
iu_connector_name (str) –
- Return type:
- list_connectables(iu_class_filter: PSPListOfBSTRs, o_l_cntbles: PSPListOfObjects, o_l_cntrs_on_this_obj: PSPListOfObjects, o_l_cntrs_on_connected: PSPListOfObjects) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub ListConnectables(PspListOfBSTRs iuClassFilter,PspListOfObjects oLCntbles,PspListOfObjects oLCntrsOnThisObj,PspListOfObjects oLCntrsOnConnected)Retrieve a list of connectors of the object.Parameters:iuClassFilterClass filter list. If iuClassFilter is an empty list then it willget connectors for all the application connector types.oLCntblesa list of CATIAPspConnectable objects that connect this objectoLCntrsOnThisObja list of connectors on “this” object in the connections ( A listof CATIAPspConnector)oLCntrsOnConnecteda list of connectors on the other objects that the member of theformer list is connected to (positions in oLCntrsOnThisObj andoLCntrsOnConnected corresponds to each other) ( A list of CATIAPspConnector)Example:Dim objThisIntf As PspConnectableDim objArg1 As PspListOfBSTRsDim objArg2 As PspListofObjectsDim objArg3 As PspListofObjectsDim objArg4 As PspListofObjects…objThisIntf.ListConnectablesobjArg1,objArg2,objArg3,objArg4
- Parameters:
iu_class_filter (PSPListOfBSTRs) –
o_l_cntbles (PSPListOfObjects) –
o_l_cntrs_on_this_obj (PSPListOfObjects) –
o_l_cntrs_on_connected (PSPListOfObjects) –
- Return type:
None
- property valid_connector_types: PSPListOfBSTRs¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ValidConnectorTypes() As PspListOfBSTRs (ReadOnly)Returns a list of Valid connector types on this object.Example:Dim objThisIntf As PspConnectableDim objArg1 As PspListOfBSTRs…Set objArg1 = objThisIntf.ValidConnectorTypes
- Return type: