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

Mass Convert DWGs to DXFs

sbrusco
Collaborator

Mass Convert DWGs to DXFs

sbrusco
Collaborator
Collaborator

Hi All,

 

What is the easiest/fastest way to convert many DWG files to DXF files?

 

TIA,

 

Sal


0 Likes
Reply
Accepted solutions (1)
844 Views
8 Replies
Replies (8)

Anonymous
Not applicable

We can use Publish command for coversion from DWGs to DXFs. In Publish window we can select multiple dwgs.

0 Likes

sbrusco
Collaborator
Collaborator

Hi Apurva,

 

Thanks for your reply. My options in plot/publish are to PDF, DWF, DWFx, MS XPS, JPG, PNG... but no DXF. Am I missing something?

 

The only way i know of is from the application "A" to select "Save As > Other Formats" and i'm not even sure if this can be scripted.

 

Sal


0 Likes

jggerth
Advisor
Advisor

that should be scriptable, using the command DXFOUT 

0 Likes

sbrusco
Collaborator
Collaborator

Hi JGerth,

 

Thanks for the suggestion but i couldn't find a command-line version of the DSXOUT command and as such, i don't know how to script that.

 

I think we're getting closer. Any other suggestions?

 

Sal


0 Likes

jggerth
Advisor
Advisor
Accepted solution

DXFOUT, not DSXOUT.

 

Try using ScriptPro to set upo your script, but the basic format would be

OPEN

drive:\complete\path\to.dwg

DXFOUT

drive:\desired\path\for.dxf

CLOSE

 

rinse and repeat as many times as you need in your .scr

0 Likes

sbrusco
Collaborator
Collaborator

Yeah, bad typing skills. But even spelling it correctly as you pointed out, there doesn't seem to be a command line version (-DXFOUT) available. I guess i could test it with a dummy script but will the base command (DXFOUT) NOT open a dialog boxin a script?!


0 Likes

jggerth
Advisor
Advisor

running DXFOUT in a script should automagically run command-line only and not fire up the dialog.

 

to play it safe though, you could always start the script with FILEDIA 0

 

Just remember to reset it when you are done.

 

 

 

I understand about typeing skillz -- same thing haooens hereSmiley Wink

sbrusco
Collaborator
Collaborator

Thanks. I'll give it a go.


0 Likes