Plotting Device Information with events

Plotting Device Information with events

arievanbrakel6314
Contributor Contributor
692 Views
1 Reply
Message 1 of 2

Plotting Device Information with events

arievanbrakel6314
Contributor
Contributor

please can you help me.

 

I use "Plot Events: BeginDocument" to detect the output file of the output file.

My project is based on the

C:\Autodesk\Autodesk_ObjectARX_2017_Win_64_and_32_Bit\samples\dotNet\EventsWatcher

example.

The EventsWatcher example behave already strange...?

 

 

In AutoCAD 2015 and 2016 it works correct.

But in AutoCAD 2017 I missing the "BeginDocument" event?

 

ac2015
Command:  PLOT
Plot Events: BeginPlot - PlotProgress.IsVisible:True PlotType:Preview
Plot Events: BeginDocument - Copies:1 DocumentName:C:\Program Files\Autodesk\AutoCAD 2015\Drawing1.dwg FileName: PlotToFile:False
Plot Events: BeginPage - LastPage:True ConfigName:DWG To PDF.pc3 PageInfo.EntityCount:226
Plot Events: EndPage - Status:Continue
Plot Events: EndDocument - Status:Continue
Plot Events: EndPlot - Status:Continue
Plot Events: BeginPlot - PlotProgress.IsVisible:True PlotType:Plot
Plot Events: BeginDocument - Copies:1 DocumentName:C:\Users\brakela\my documents\Drawing1.dwg FileName:C:\Users\brakela\My Documents\Drawing1-Model.pdf PlotToFile:True
Plot Events: BeginPage - LastPage:True ConfigName:DWG To PDF.pc3 PageInfo.EntityCount:226Effective plotting area:  4.12 wide by 10.15 high
Plotting viewport 2.
Plot Events: EndPage - Status:Continue
Plot Events: EndDocument - Status:Continue
Plot Events: EndPlot - Status:Continue


ac2017sp1
Command: PLOT

Plot Events: BeginPlot - PlotProgress.IsVisible:True PlotType:Preview
Plot Events: BeginPage - LastPage:True ConfigName:DWG To PDF.pc3 PageInfo.EntityCount:253
Plot Events: EndPage - Status:Continue
Plot Events: EndDocument - Status:Continue
Plot Events: EndPlot - Status:Continue
Plot Events: BeginPlot - PlotProgress.IsVisible:True PlotType:Plot
Plot Events: BeginPage - LastPage:True ConfigName:DWG To PDF.pc3 PageInfo.EntityCount:253Effective plotting area:  418.13 wide by 295.41 high

Plotting viewport 2.

Plot Events: EndPage - Status:Continue
Plot Events: EndDocument - Status:Continue
Plot Events: EndPlot - Status:Continue

 

How can I retrieve the plot file name in ac2017?

 

thanks in advance for your support

0 Likes
Accepted solutions (1)
693 Views
1 Reply
Reply (1)
Message 2 of 2

Virupaksha_aithal
Autodesk Support
Autodesk Support
Accepted solution

Hi,

 

This is know issue in AutoCAD 2017. This issue is addressed in AutoCAD 2018. One alternative is to use ObjectARX (AcPlPlotReactor) to identify the plotting file name



Virupaksha Aithal KM
Developer Technical Services
Autodesk Developer Network