Creo distribution tool (nmsd) exe doesnt terminate even after conversion is over
hi,
My Java code calls a bat file which runs the Creo Distribution utility and gets notified when "nmsd.exe" (PTC service for conversion) gets created.
Here is the bat file:
"%CREO_BASEDIR%\ptcdbatch.bat" -nographics -process C:\temp\convert\conversion.dxc
And the conversion.dxc file is as below:
<DXC>
<Windchill></Windchill>
<Group DSQM="_LOCAL" Name="IGES 3D Export" Output="2" OutputDir="C:\temp\convert" PrimaryContent="0" TTD="C:\temp\convert\iges_3d_export.ttd.def" VaultResults="0">
<Object>C:\temp\convert\PartFile.prt.1</Object>
</Group>
</DXC>
When the bat file is run, "nmsd.exe" gets called and the part file is converted to the .igs file.
But even after the conversion is complete and the log file shows "successful" conversion, the nmsd.exe doesn't get terminated and remains for sometime. Because of this my Java code couldn't understand if the conversion was over successfully.
Is there a way to terminate nmsd.exe immediately after the conversion? We can't exactly specify if a particular file would take a minute or 5 minutes to get converted. So its best that the nmsd.exe terminates on its own after the conversion and don't linger in the task manager.
Thanks in Advance.


