Difference between revisions of "ParaView/Python/Visibility"

From KitwarePublic
Jump to: navigation, search
m
 
Line 6: Line 6:
 
# Create some sources ...
 
# Create some sources ...
  
 +
# Hide all sources
 
for px in GetSources().values():
 
for px in GetSources().values():
 
     Hide(px)
 
     Hide(px)
 +
</source>
  
</source>
+
Back to [[ParaView/PythonRecipes]].
 +
{{ParaView/Template/Footer}}

Latest revision as of 14:37, 16 October 2018

#!/usr/bin/pvpython

from paraview.simple import *

# Create some sources ...

# Hide all sources
for px in GetSources().values():
    Hide(px)

Back to ParaView/PythonRecipes.


ParaView: [Welcome | Site Map]