I'm trying to restart PC-DMIS via automation. I'm running into an issue where one of my programs is so large that it causes an error when the next program is run.
i've tried this:
this is in c# but should be easy to follow along with.
public static void KillPCD() { //Connect to pc-dmis PCDLRN.IApplication PCDAPP = new PCDLRN.Application; //get part programs PCDLRN.IPartPrograms PCDPROGS = PCDLRN.PartPrograms; //if there are open partprograms, close/save them if (PCDPROGS.Count>0) { PCDPROGS.CloseAll(); } //dump pcdprogs PCDPROGS = null; //close pc-dmis PCDAPP.Quit(); //dump pcdapp; PCDAPP = null; }
but the pc-dmis process still stays open in the background.
how can i close pc-dmis w/o killing the process?
thanks in advance!
--cappy6124