Hello!
With the following code I can catch the event, when a plot-job is finished:
Autodesk.AutoCAD.PlottingServices.PlotReactorManager prm = new Autodesk.AutoCAD.PlottingServices.PlotReactorManager();
prm.EndPlot += new Autodesk.AutoCAD.PlottingServices.EndPlotEventHandler(prm_EndPlot);
.
.
.
void prm_EndPlot(object sender, Autodesk.AutoCAD.PlottingServices.EndPlotEventArgs e)
{
Editor ed = Application.DocumentManager.MdiActiveDocument.Editor;
ed.WriteMessage("Plot finished");
}
But has the publication also such events? I need to get the filename of each drawing which was publicated.
I was looking in the Objectbrowser of VS2005 and I found some events which sounds good. But nothing catches the publication event.
Thanks