-
Hi! I am reading a .vtm file from disk and then visualizing this. I used to do:
But now I want to switch to a server setup, where the file is uploaded, so I am using the setup from the howdoi/00_upload example and do: and now I am confused. Is there a way to directly update the variable mb with the data inside file? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
So the ClientFile is actually only a set of buffers in memory. You will need to dump it to disk and point your VTK reader to it so it can produce a new multiblock. Also if I'm not mistaken, a vtm is a meta file which require other files on the side. So uploading a vtm in itself won't be enough unless you now where is was located and the server already has access to the other files. HTH |
Beta Was this translation helpful? Give feedback.
So the ClientFile is actually only a set of buffers in memory. You will need to dump it to disk and point your VTK reader to it so it can produce a new multiblock. Also if I'm not mistaken, a vtm is a meta file which require other files on the side. So uploading a vtm in itself won't be enough unless you now where is was located and the server already has access to the other files.
HTH