ParaView/Python/Visibility: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(New page: <source lang="python"> #!/usr/bin/pvpython from paraview.simple import * # Create some sources ... for px in GetSources().values(): Hide(px) </source>)
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
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 18:37, 16 October 2018

<source lang="python">

  1. !/usr/bin/pvpython

from paraview.simple import *

  1. Create some sources ...
  1. Hide all sources

for px in GetSources().values():

   Hide(px)

</source>

Back to ParaView/PythonRecipes.


ParaView: [Welcome | Site Map]