Convert DGN files to Autocad 2015 and PDF

Convert DGN files to Autocad 2015 and PDF

GeorgK
Advisor Advisor
1,072 Views
3 Replies
Message 1 of 4

Convert DGN files to Autocad 2015 and PDF

GeorgK
Advisor
Advisor

Hello together,

 

whats the best way to convert about 1200 files from DGN to DWG and PDF?

 

 

I tried:

   (defun c:Pdf ( / as )
    (setq as (getvar "CTAB"))
    (setq pfad (strcat (vl-filename-directory (getfiled "titel" (strcat (if pfad pfad "") as) "pdf" 1)) "\\"))
    (if as (command "-export" "PDF" "k" "n" (strcat pfad as)))
    (setq as nil)
    (princ)
    )

 

Thank you very much

 

Georg

0 Likes
1,073 Views
3 Replies
Replies (3)
Message 2 of 4

hmsilva
Mentor
Mentor

Hi Gerorg.

 

To convert the DGN files to DWG files, this topic may be a starting point.
Possibly you can modify it to create the the .pdf also.

 

HTH

Henrique

EESignature

0 Likes
Message 3 of 4

GeorgK
Advisor
Advisor

Hi Henrique,

 

thank you very much for the link. How could I convert the files to PDF?

 

Thank you Georg

0 Likes
Message 4 of 4

hmsilva
Mentor
Mentor

@Anonymous wrote:

...

thank you very much for the link. How could I convert the files to PDF?

 ...


You're welcome, Georg.

 

To create the .pdf file, you can use the plot or the export command...

What is the meaning of the "k" option at the -export command?

(command "-export" "PDF" "k" "n" (strcat pfad as)))

 

Henrique

EESignature

0 Likes