plotAPI problem?

plotAPI problem?

highflybird
Observer Observer
339 Views
2 Replies
Message 1 of 3

plotAPI problem?

highflybird
Observer
Observer

Has anyone tested the printing performance of AsdkPlotAPI on newer versions?
AsdkPlotAPI is a sample project in ObjectARX for AutoCAD 2007 or 2008 that utilizes the ARX printing API to plot drawings.
I upgraded it to a newer version (the version I compiled here is for AutoCAD 2018), but the print preview is not working properly.
When I use the mouse wheel to zoom in or out during preview, or use the middle mouse button to pan, extra graphics appear in the preview.
Below are screenshots after running the program.
Attached are the project source code and an ARX file for the 2018 version.
Is this a bug in PlotAPI?
If anyone can help me figure out how to resolve this issue, I would be extremely grateful!

test.pngerror1.png

340 Views
2 Replies
Replies (2)
Message 2 of 3

2557003216
Advocate
Advocate

Do not use modless dialogs!

0 Likes
Message 3 of 3

highflybird
Observer
Observer

Thank you very much for your response. Actually, however, this issue is not related to the form of the dialog box. The key point is: for AutoCAD 2014 and earlier versions, this phenomenon does not occur at all. Moreover, switching to a modal dialog box would not meet the requirements in the first place, and besides, after changing to a modal dialog box, operations such as zooming in and out for preview would not even be possible. If printing preview is performed using command operations in AutoCAD, this problem does not appear either. Therefore, I am seeking guidance on how to modify the SDK project sample to achieve normal printing preview functionality.

0 Likes