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

Function FindSource

Wrapping/Python/paraview/simple/proxy.py:55–71  ·  view source on GitHub ↗

Return a pipeline source based on the name that was used to register it with ParaView. Example usage:: Cone(guiName='MySuperCone') Show() Render() myCone = FindSource('MySuperCone') :param name: The name that the pipeline source was registered with during

(name)

Source from the content-addressed store, hash-verified

53
54
55def FindSource(name):
56 """Return a pipeline source based on the name that was used to register it
57 with ParaView.
58
59 Example usage::
60
61 Cone(guiName='MySuperCone')
62 Show()
63 Render()
64 myCone = FindSource('MySuperCone')
65
66 :param name: The name that the pipeline source was registered with during
67 creation or after renaming.
68 :type name: str
69 :return: The pipeline source if found.
70 :rtype: Pipeline source proxy."""
71 return servermanager.ProxyManager().GetProxy("sources", name)
72
73
74def FindView(name):

Calls 1

GetProxyMethod · 0.45

Tested by 1

_updateEventCbFunction · 0.68