Replies: 1 comment 2 replies
-
Was that example not matching what you aim to do? Is your data on the server or on the client? If it is on the server, it does not need to pass the full data by the client (client is string expression "[mb1]"). Also you can use some kind of ID to let the server know which of its datasets needs to go through the call? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like to save/download some contents of a vtk dataset by clicking a button.
So I have this data:
mb1 = vtkMultiBlockDataSet()
and I want to give this data as an argument to a function export_files like this:
The function export_files is defined in an external module, and it grabs some data from the vtk dataset and saves it to a file. The above gives me "mb1 is not defined" and making it a state.mb1 does not work because its contents is not serializable. I am not familiar with this concept so don't really know how to serialize it. How can I make this work?
Beta Was this translation helpful? Give feedback.
All reactions