Jump to content

Conversion of dgn to dxf


ernestkwarteng

Recommended Posts

please i would be glad if some one can help with a lisp script that can convert multiple dng file to dxf.

REGARDS!!!!!

Link to comment
Share on other sites

Welcome to CADTutor ernest. :)

I know this is not what you are asking for, but I thought it might include something that would help.

 

Are you talking about converting .DGN or .DNG files?

 

 

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Core/files/GUID-3F4F7D09-E6A7-444F-B9C3-CA6A6E466DB1-htm.html

 

How many drawings do you need to convert?

 

Check out this lisp by Lee Mac

 

http://www.lee-mac.com/scriptwriter.html

 

Thanks Lee! :beer:

Edited by Dadgad
Link to comment
Share on other sites

Just write down the steps and repeat them in simple text file saved as .scr then just type script and load it. I have left out the little sneaky bits of how to make a script in a couple of minutes.

 

dgnimport dwg1.dgn -dxfout dwg1 all close N

dgnimport dwg2.dgn -dxfout dwg2 all close N

Link to comment
Share on other sites

BIGAL, I think you use scripts a lot, and I never have, but looking at Lee's SCRIPTWRITER lisp, it looks pretty smicko, you can run a single line script on an entire directory without the tedium of all that renaming, which seems typically (Lee Mac) efficient! :beer:

 

I think it may look pretty close to the following, which I based on your last post (untested)

 

_.dgnimport *file* _.dxfout *file* _.close

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...