How to get a single object or some in paraview python?

I rendered some data on the server side in python, like this:

> reader = simple.OpenDataFile('xxx.obj')
> simple.Show(reader)
> simple.Render()

And I want to customize some protocols such as pick or clip one of the objects I rendered. I tried some methods, but it didn’t have the right effect. Do the experts have any good advice? Thank you in advance!

You can use the trace in ParaView to learn how your UI interaction translate into Python commands.

1 Like