pycatia.cat_sch_platform_interfaces.sch_network_analysis¶
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_network_analysis.SchNetworkAnalysis(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchNetworkAnalysisRepresents a schematic network.- find_paths(i_from_object: SchAppConnectable, i_to_object: SchAppConnectable) SchListOfObjects ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func FindPaths(SchAppConnectable iFromObject,SchAppConnectable iToObject) As SchListOfObjectsGiven a start and end object in the network, this method returns a list ofnetwork objects each representing a path connecting the the 2 inputobjects.Parameters:iFromObjectThe connectable to start from.iToObjectThe connectable to finish at.oLNetworksPointer to a list of networks. (Members are CATISchNetworkAnalysisinterface pointers).Example:Dim objThisIntf As SchNetworkAnalysisDim objArg1 As SchAppConnectableDim objArg2 As SchAppConnectableDim objArg3 As SchListOfObjects…Set objArg3 = objThisIntf.FindPaths(objArg1,objArg2)
- Parameters:
i_from_object (SchAppConnectable) –
i_to_object (SchAppConnectable) –
- Return type:
- list_extremity_objects() SchListOfObjects ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ListExtremityObjects() As SchListOfObjectsList the extremity objects of the network.Parameters:oLExtremityObjsPointer to a list of extremity objects of the network (Members areCATISchAppConnectable interface pointers).Example:Dim objThisIntf As SchNetworkAnalysisDim objArg1 As SchListOfObjects…Set objArg1 = objThisIntf.ListExtremityObjects
- Return type:
- list_network_objects() SchListOfObjects ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ListNetworkObjects() As SchListOfObjectsList the connected objects in the network.Parameters:oLNetworkObjsPointer to a list of all connected objects in the network. (Membersare CATISchAppConnectable interface pointers)Example:Dim objThisIntf As SchNetworkAnalysisDim objArg1 As SchListOfObjects…Set objArg1 = objThisIntf.ListNetworkObjects
- Return type: