Converting CAD parts to pmdb in batch on Windows to import them on Linux

James Derrick
James Derrick Administrator, Employee Posts: 357
Ancient Membership 100 Comments 100 Likes 25 Answers
admin
edited May 15 in Fluids

Hello, there are limitations for CAD import on Linux, I would like to create a small python script that would import the CAD in batch and export it as .pmdb so that I could then import it on Linux in Fluent Meshing.

Is it possible to do this with PyAnsys Geomerty?

I can do it with run_discovery_script_file but I would like to avoid the need of 2 files for a 2-operation script.

The context is that I need to import NX prt files but there's no reader for them on Linux. So, if I can set up a script/workflow to convert the .prt files to .pmdb on Windows the .pmdb files can then be imported in Linux.

Best Answer