ParaView/Python/Visibility: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
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>


</source>
Back to [[ParaView/PythonRecipes]].
{{ParaView/Template/Footer}}

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]