AcPlPlotEngine does not display a plot progress dialog box automatically. Applications can instantiate the default implementation of the plot progress dialog box using the global function acplCreatePlotProgressDialog() and passing it to the plot engine. When this object is no longer needed, the caller is responsible for destroying it using AcPlPlotProgressDialog::destroy().
Applications can customize the appearance of the plot progress dialog box using AcPlPlotProgressDialog::setPlotMsgString(). Applications also can provide their own plot progress dialog box by implementing the AcPlPlotProgress interface.
The following sample demonstrates how to instantiate the default implementation of the Plot Progress dialog box and pass it to the plot engine.
AcPlPlotProgressDialog *pPlotProgDlg=acplCreatePlotProgressDialog( acedGetAcadFrame()->m_hWnd,false,1); pPlotProgDlg->setPlotMsgString( AcPlPlotProgressDialog::PlotMSGIndex::kDialogTitle, "Plot API Progress"); pPlotProgDlg->setPlotMsgString( AcPlPlotProgressDialog::PlotMSGIndex::kCancelJobBtnMsg, "Cancel Job"); pPlotProgDlg->setPlotMsgString( AcPlPlotProgressDialog::PlotMSGIndex::kCancelSheetBtnMsg, "Cancel Sheet"); pPlotProgDlg->setPlotMsgString( AcPlPlotProgressDialog::PlotMSGIndex::kSheetSetProgressCaption, "Job Progress"); pPlotProgDlg->setPlotMsgString( AcPlPlotProgressDialog::PlotMSGIndex::kSheetProgressCaption, "Sheet Progress"); pPlotProgDlg->setPlotProgressRange(0,100); pPlotProgDlg->onBeginPlot(); pPlotProgDlg->setIsVisible(true); es = pEngine->beginPlot(pPlotProgDlg);