You can use a script en use Scriptpro to run multiple drawings.
It places the DXF in the drawing map.
PmxCAD
Script:
FILEDIA
0
_SAVEAS
DXF
16
FILEDIA
1
Registered forum members do not see this ad.
Hi Guys,
I Wanted To Mass Convert Some DWGs To DXFs,
So, I looked Around and found some commercial softwares and also some lisp routine, but they didn't workout as i expected so i made a software (to interpret scripts).
Autocad Batch Script Creator.jpg
it works fine in converion of dxfs, so i thought this software might be usefull to some who want to mass convert dxfs,
here is the software: AutoCAD Script Writer.zip
This Software doesn't Require Installation, (It Runs Directly)
::REQUIREMENTS::
1. AutoCAD which supports LISP routines (eG; full versions of AutoCAD 2010, But not AutoCAD LT Versions)
::Usage::
1. In The "Location Of Files To Be Processed" Box, Paste The Location Where U have ur dwg files. (Default value is "D:\SomeFolder"). Dont Give A Root Location Such As "D:\" or "C:\" etc;
2. In The "Command" Box, The Default Code Is Written For DXF Conversion, U can modify and write ur own Macros here, (If U know Acad Scripting Language)
3. Pressing the "Create Script" Button will create a "Script.scr" file at the location of the dwg files
4. Now Open AutoCAD, Now Press [Control]+[N] In AutoCAD, A New Window will be opened
5. Now All U Have To Do Is Drag The "Script.scr", into the AutoCAD's Canvas (which is a blank black window usually)
6. And thats it, autocad will start converting the DWGs to DXFs
Thanks To Lee-Mac, dbroada & Bill-Tillman for giving me the answer and idea to my previous post,
Last edited by kArThIcK hAcKeR; 5th May 2014 at 08:45 am.
Don't Hesitate !!!
You can use a script en use Scriptpro to run multiple drawings.
It places the DXF in the drawing map.
PmxCAD
Script:
FILEDIA
0
_SAVEAS
DXF
16
FILEDIA
1
Excellent job buddy
Got me out of a fix, may thanks.
What was it created in/with?
hi Karthik,
could you help me write code to convert DWG to PDF as I dont know how to write code
I Wanted To Mass Convert Some DWGs To DXFs,
So, I looked Around and found some commercial softwares and also some lisp routine, but they didn't workout as i expected so i made a software (to interpret scripts).
Attachment 48653
it works fine in converion of dxfs, so i thought this software might be usefull to some who want to mass convert dxfs,
here is the software: Attachment 48630
This Software doesn't Require Installation, (It Runs Directly)
::REQUIREMENTS::
1. AutoCAD which supports LISP routines (eG; full versions of AutoCAD 2010, But not AutoCAD LT Versions)
::Usage::
1. In The "Location Of Files To Be Processed" Box, Paste The Location Where U have ur dwg files. (Default value is "D:\SomeFolder"). Dont Give A Root Location Such As "D:\" or "C:\" etc;
2. In The "Command" Box, The Default Code Is Written For DXF Conversion, U can modify and write ur own Macros here, (If U know Acad Scripting Language)
3. Pressing the "Create Script" Button will create a "Script.scr" file at the location of the dwg files
4. Now Open AutoCAD, Now Press [Control]+[N] In AutoCAD, A New Window will be opened
5. Now All U Have To Do Is Drag The "Script.scr", into the AutoCAD's Canvas (which is a blank black window usually)
6. And thats it, autocad will start converting the DWGs to DXFs
Thanks To Lee-Mac, dbroada & Bill-Tillman for giving me the answer and idea to my previous post,[/QUOTE]
I needed this to send some parts to our tube laser vendor. Worked perfectly. Thanks!
Hello, I have 120 files in the folder, but it converts only the first file. Please help me
The obvious you dont need to delcare as a defun just run command or load the defun once into acaddoc.lsp then just call the defun (dxfout)
A couple of suggestions in scripts the / \ can make the difference
Check make a test directory the 200.239 to 200_239 the . may be the problem
Code:_.OPEN "D:\\123\\200.239_47.dwg" mspace (command "_.dxfout "" "16" "_.regen" "_.close" "_Y") or _.OPEN "D:\\123\\200.240_16.dwg" mspace (TODXF)
A man who never made mistakes never made anything
Registered forum members do not see this ad.
Don't Hesitate !!!
Bookmarks