Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Batch plot: Place PDF in the source folder of the .dwg

thomas_kai_riewerts
Explorer

Batch plot: Place PDF in the source folder of the .dwg

thomas_kai_riewerts
Explorer
Explorer

Hi Everyone

 

I have recieved a large number of .dwg files (+300)

Do you know of a way that I can plot multiple drawings to pdf, and the pdf will be placed in the source folder of the .dwg being plotted.

 

The drawings I have recieved are spread across folders that I need to have plotted. I have all the filespath in a excel spreadsheet.I do apoligize if this is a easy question but I have looked around and couldn't find anything.

Side question

Before plotting I need to change the Viewport propeties: Shade plot shall be set to "As Displayed" on all the drawings.

How would you come around this challenge?

I hope you can help me, or push me in the right direction.

 

Best Regards 

 

Thomas 

0 Likes
Reply
245 Views
1 Reply
Reply (1)

Sea-Haven
Mentor
Mentor

If you open a dwg you can use

 

(setq fname (strcat (getvar 'dwgprefix)(vl-filename-base (getvar 'dwgname))))

You can use fname as the Pdf file name in say a plot lisp. To many other variables to do with your dwg's to comment further about lisp plot code.

0 Likes