Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow clearing cell and point data for all blocks in MultiBlock objects #6032

Closed
user27182 opened this issue May 4, 2024 · 0 comments · Fixed by #6046
Closed

Allow clearing cell and point data for all blocks in MultiBlock objects #6032

user27182 opened this issue May 4, 2024 · 0 comments · Fixed by #6046
Labels
feature-request Please add this cool feature!

Comments

@user27182
Copy link
Contributor

Describe the feature you would like to be added.

PyVista DataSet objects have clear_data, clear_point_data, and clear_cell_data methods. It would be nice to be able to recursively call these methods on all blocks of a MultiBlock using something like MultiBlock.clear_all_data(), MultiBlock.clear_all_point_data() and MultiBlock.clear_all_cell_data().

Links to VTK Documentation, Examples, or Class Definitions.

No response

Pseudocode or Screenshots

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Please add this cool feature!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant