Downlaod and Extract the "NX-Batch-Processing.rar" file given in the Support Files folder in this code.
Run the "NX-Batch-Processing.exe". The below shown windows will open. (Note: don't rename the "BatchExport.exe" file, and both file must be in same folder)
Using this application we can export the Netural CAD file with opening the Siemens NX
Input Files folder - Click Browse or Copy paste the file Directory of parts need to export as STEP/IGES/XT/DWG/DXF/PDF
Export folder - Click Browse or Copy paste the Export file Directory to save the Exports files in at location
Tick check box for required file formats need to Export. Click on Export
After completion of Export a Pop Up message will show like below image
Each formats will export to given export directory in separate folders
Code for the BatchExport.exe file (https://github.com/MohanDulam/BatchExport)