MCPcopy Create free account
hub / github.com/Kitware/ParaView / mapIdToProxy

Method mapIdToProxy

Web/Python/paraview/web/protocols.py:101–114  ·  view source on GitHub ↗

Maps global-id for a proxy to the proxy instance. May return None if the id is not valid.

(self, id)

Source from the content-addressed store, hash-verified

99 self.baseDirectoryMap = {}
100
101 def mapIdToProxy(self, id):
102 """
103 Maps global-id for a proxy to the proxy instance. May return None if the
104 id is not valid.
105 """
106 try:
107 id = int(id)
108 except:
109 return None
110 if id <= 0:
111 return None
112 return simple.servermanager._getPyProxy(
113 simple.servermanager.ActiveConnection.Session.GetRemoteObject(id)
114 )
115
116 def getView(self, vid):
117 """

Callers 15

getViewMethod · 0.95
getCurrentScalarRangeMethod · 0.80
colorByMethod · 0.80
getLutImageMethod · 0.80
setSurfaceOpacityMethod · 0.80
getSurfaceOpacityMethod · 0.80
selectColorMapMethod · 0.80
fillPropertyListMethod · 0.80
reorderPropertiesMethod · 0.80

Calls 1

GetRemoteObjectMethod · 0.45

Tested by

no test coverage detected