Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Batch DXF out routine

7 REPLIES 7
Reply
Message 1 of 8
Mr.Hella
2115 Views, 7 Replies

Batch DXF out routine

Does anyone in the group know of a routine that is available to "Batch DXF out" a group of dwgs. at once rather than having to do them individually?

 

Thank you

 

M.

7 REPLIES 7
Message 2 of 8
Alfred.NESWADBA
in reply to: Mr.Hella

Hi,

 

what product (and version) do you work with? E.g. with Civil3D you can use command _AECCCIVILBATCHCONVERTER that let you do what you are looking for!

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 3 of 8
Mr.Hella
in reply to: Alfred.NESWADBA

I'm using plain vanilla Autocad 2012.

 

Thanks

Message 4 of 8
pbejse
in reply to: Mr.Hella


@mhlr wrote:

Does anyone in the group know of a routine that is available to "Batch DXF out" a group of dwgs. at once rather than having to do them individually?

 

Thank you

 

M.


Use Vla-saveas method via script or ODBX

......

 

ac2000_dxf

AutoCAD 2000 DXF (*.dxf)

ac2000_Template

AutoCAD 2000 Drawing Template File (*.dwt)

ac2004_dwg

AutoCAD 2004 DWG (*.dwg)

ac2004_dxf

AutoCAD 2004 DXF (*.dxf)

ac2004_Template

AutoCAD 2004 Drawing Template File (*.dwt)

ac2007_dwg

AutoCAD 2007 DWG (*.dwg)

ac2007_dxf

AutoCAD 2007 DXF (*.dxf)

 

Message 5 of 8
trevor.bird.au
in reply to: Mr.Hella

Hi,

 

I've attached a program that I hope helps you.

I had to name it BatchDXF-vlx.txt so that it could be posted.

 

Rename it to BatchDXF.vlx and the command to run it is BATCHDXF.

 

Regards,

Trevor

Message 6 of 8
Mr.Hella
in reply to: Mr.Hella

Thank you very much for the help. I'll give it a try.

 

 

Message 7 of 8
Mr.Hella
in reply to: Mr.Hella

Trevor,

 

Thank you very much for offering this program. It looks exactly like what I was looking for.The questions I have are coming from a person that knows nothing of Visual Lisp so forgive me in advance!!!

I tried putting this routine in my "Startup Suite" & for some reason it doesn't load automatically. Is this normal?! Also, the brouse buttons appear to not function until I paste a directory path into the highlighted fields first, then they function.

Would I have to tweek this routine to work locally automatically with my fille structure.

 

Thanks again,

 

Mark

Message 8 of 8
trevor.bird.au
in reply to: Mr.Hella

Hi Mark,

 

Please find attached an updated version.

Rename it to BatchDXF.vlx to use.

 

My apologies, I had a few things set for testing which I did not change or remove before posting originally.

The browse buttons should work correctly now.

File structure should not be a problem, you can select any source drawings folder and any target folder location.

 

The program does depend on the AutoCAD Express Tools being installed because it uses a function called "acet-ui-pickdir" which is provided by the Express Tools.

 

I am not sure why it did not load when using the Startup Suite, I tried it myself and it seemed to go to plan.

 

Please let me know how you go with this one.

 

Thanks.

 

Regards,

Trevor

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

Post to forums  

Autodesk Design & Make Report

”Boost