With the blocks created, could i use python script to hide a selected block.
I am using the following code to find the block 0, and do not know how to hide it. Thank you for the help
active_source = paraview.simple.GetActiveSource()
data = paraview.servermanager.Fetch(active_source)
Visibility is controlled at the representation level (object returned by the Show method). For multiblock, you have BlockSelectors property to check which blocks should be visible.
Also note that Fetch is not recommended if you are connected to a remote server (specially with big datasets), as it transfer data over network. And in your case this is not needed.
Thank you Nicolas for your kind help. I got the following message from the example script
File “”, line 37, in
AttributeError: ‘paraview.modules.vtkRemotingCore.vtkPVDataInformat’ object has no attribute ‘GetDataAssembly’
Hi Nicolas, I installed 5.11. I can see the vtkMulitBlockDataSet in MultiBlock Inpsector, but assembly = info.GetDataAssembly(), here is None.
Anything i did wrong?
Thanks