util.proxy Module¶
- paraview.util.proxy.rename(proxy, group=None, name=None)[source]¶
Renames the given proxy. This is the name used by
FindSource()and is displayed in the Pipeline Browser.- Parameters:
proxy (Proxy object) – The proxy to be renamed
group (str) – The group in which the proxy lives. Can be retrieved with proxy.GetXMLGroup() but not always (layouts vs misc).
newName (str) – The new name of the proxy.
- paraview.util.proxy.set(proxy, **props)[source]¶
Sets one or more properties of the given proxy. Pass in arguments of the form property_name=value to this function to set property values.
For example:
set( proxy, # CAN NOT be None Center=[1, 2, 3], Radius=3.5, )
- Parameters:
proxy (Source proxy) – The pipeline source whose properties should be set.
params – A variadic list of key=value pairs giving values of specific named properties in the pipeline source. For a list of available properties, call help(proxy).