ACAD 2017 DSD PDF -publish ignore ViewFile parameter?

ACAD 2017 DSD PDF -publish ignore ViewFile parameter?

Anonymous
Not applicable
923 Views
5 Replies
Message 1 of 6

ACAD 2017 DSD PDF -publish ignore ViewFile parameter?

Anonymous
Not applicable

I am automating AutoCAD to publish DWG files to PDF.

I am running the -publish command with a dsd file as argument.

In the dsd file the parameter ViewFile is set to FALSE. However after the publish command is completed the PDF file is still opened in an external viewer. This breaks my automation.

I first noticed this problem in AutoCAD 2017. Earlier versions does not seem to have this problem and accepts the ViewFile parameter.


Am I misunderstanding something? Is there a work around or change I am not aware of?

0 Likes
924 Views
5 Replies
Replies (5)
Message 2 of 6

cadffm
Consultant
Consultant

In 2018 it works fine.

 

Do you use the "PDF Option" of AutoCAD, or do you use your own PDF driver?
Because in the foreign PDF driver could be also the information "after create display" be set.

If you use Acad-PDF, then give your exact version, maybe someone can test with this version and Servicepack. VERNUM

Sebastian

0 Likes
Message 3 of 6

Anonymous
Not applicable

Thank you for your reply.

I use the PDF option. The publish uses the plotter configuration from the default "AutoCAD PDF (General Documentation)" pc3 file. In the PC3 I can untick the custom property "show result in viewer" resolving the issue. However this is not an ideal solution for our customer.

I'm glad to hear that the problem doesn't appear in 2018 version. However this is of little help since our customer is running 2017.

I have tried both 2017 Vanilla and service pack 1.1. the update did not resolve the issue.

Thank you for your assistance.







 

0 Likes
Message 4 of 6

pendean
Community Legend
Community Legend

Works fine here in R2017, but I also turn off the viewer action in the actual PC3 file itself as well

 

Capture.JPG

 

Otherwise your user's Windows log-in may be preventing registry edits to save settings in PUBLISH command, and AutoCAD does not override log-in rights into Windows.

0 Likes
Message 5 of 6

Anonymous
Not applicable

Yes indeed it seem to work when turning the feature off in the PC3. I can instruct our customers to make a manual change to the pc3 but that would be somewhat inconvenient.

However in previous version of AutoCAD this was not needed, to me it seem strange that this setting should override the dsd settings.

If I do a publish directly from the UI the pc3 does not override my settings in the publish dialog. If I untick the "Open in viewer when done" in the publish dialog the external viewer is not opened after the publish is completed.

For me this seem to be an issue with the dsd.

Could this be a bug in AutoCad 2017?

Again, thanks for all assistance.

0 Likes
Message 6 of 6

pendean
Community Legend
Community Legend
There are AutoCAD2017 patches and updates posted: install them, if they don't help then you sadly don't have much of a choice but to implement this inconvenience.
0 Likes