ParaView/Python/Visibility: Difference between revisions
From KitwarePublic
< ParaView
Jump to navigationJump to search
Daviddoria (talk | contribs) |
JPouderoux (talk | contribs) mNo edit summary |
||
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> | |||
Back to [[ParaView/PythonRecipes]]. | |||
{{ParaView/Template/Footer}} |
Revision as of 18:37, 16 October 2018
<source lang="python">
- !/usr/bin/pvpython
from paraview.simple import *
- Create some sources ...
- Hide all sources
for px in GetSources().values():
Hide(px)
</source>
Back to ParaView/PythonRecipes.