I need a VTK format for my mesh
Answers
-
Jesús Ramos_21865 said:
Hello @, first of all thank you very much for your work, I know this is very late but I really need to export a surface mesh to VTK and I can't seem to get your script to work, I have copied the script you pasted, pasted it onto a notepad and saved it with a .tcl extension.
I have opened it with HyperMath and have separated all the lines, I am uploading the result here (I have uploaded it with a .txt extension so that it will allow me to upload it).
I have then tried to run the command you posted on the command view of Hypermesh (making sure I was in the correct folder) while my mesh was open, but I get the error "hm_getvalue: Mark is empty."
Am I missing any steps? Is the file I uploaded correctly modified? Is the extension .tcl ok or does it need to have a different extension?. Thank you very much for your help.
Do you display the 2D elements on?
input command 'p_Export2DToVtpFile sample.vtk displayed' to export displayed 2D elements
or 'p_Export2DToVtpFile sample.vtk all' to export all 2D elements
0 -