Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EXPORTPDF Command

3 REPLIES 3
Reply
Message 1 of 4
soubari
1539 Views, 3 Replies

EXPORTPDF Command

Hello,

 

On DWG Trueview, I want to export a PDF from a DWG Drawings, I make the following script (.scr) :

Spoiler
;BEGIN SCRIPT
ExportPDF
;END SCRIPT

DWG TrueView opens and displays the PDF registration popup.


it is possible to save the exported PDF Automatically to a folder without user interaction ? what i have to add to the script or configuration for that ?

 

Thank you in advance.

3 REPLIES 3
Message 2 of 4
Slawomir_
in reply to: soubari

Hi soubari,

 

I've wrote short script in AutoCAD but I hope that it should run also on DWG Trueview. I'm not using EXPORTPDF command because it does not have command line. EXPORT command will let You save pdf but You need to first manually specify path and name of Your pdf file. You can also try to write AutoLISP routine to read and write dwg name automatically.

 

TILEMODE
0
(command "_-EXPORT" "_PDF" "_C" "_NO" "C:\\Users\\Sample_folder\\file_name.pdf")

 

 

Remember to write Your path and filename.

Tags (3)
Message 3 of 4
pendean
in reply to: Slawomir_

There is no SCRIPT command in DTV: but is has a PUBLISH command that will "export" to PDFs all day long from one or hundreds of files.
Message 4 of 4
Slawomir_
in reply to: pendean

Thanks for correcting me 😃

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost