Reading CGNS files in trame #530
-
Hi! I am trying to read CGNS files in trame rather than a vtk or vtu file. I followed the same steps as were listed in the trame-tutorial and I copied most of my code from 04_application/solution.py. However, I modified the import statement such that it now is I also tried another implementation where How should I go about fixing this? I am restricted to CGNS files by the nature of my work. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
you may want to do |
Beta Was this translation helpful? Give feedback.
-
Hi @jourdain! I had one more question about CGNSReaders. I was hoping to upload a file by following this example: https://github.com/Kitware/trame/blob/master/examples/00_howdoi/upload.py. However, if I want to then have that file be the input to my vtkCGNSReader, I have been defining it with the line:
Is there a way that I can pass the file_upload into the vtkCGNSReader? |
Beta Was this translation helpful? Give feedback.
Otherwise looking at the module name it should be