TheSwamp

CAD Forums => CAD General => Topic started by: SteveK on December 09, 2009, 06:29:44 PM

Title: Batch DGN Conversion with 2010, not possible?
Post by: SteveK on December 09, 2009, 06:29:44 PM
With 2010 you can import a DGN file and save it as a DWG. The command is "DGNIMPORT".

I just want to check with you guys it's not possible to batch this process before I take on the arduous task of converting a couple of hundred? Any thoughts welcome.

Thanks,

steve
Title: Re: Batch DGN Conversion with 2010, not possible?
Post by: ronjonp on December 09, 2009, 06:40:05 PM
I know there is a batch DGN converter in Microstation....but not sure if there is one in AutoCAD.
Title: Re: Batch DGN Conversion with 2010, not possible?
Post by: SteveK on December 09, 2009, 06:43:31 PM
Quick response! Thanks Ron. Sorry I should have added we don't have Microstation  :-(
Title: Re: Batch DGN Conversion with 2010, not possible?
Post by: ronjonp on December 09, 2009, 06:47:44 PM
If you have a "master" file that owns all the xrefs, the DGNIMPORT will convert these files as well so you don't have to open each one up individually.
Title: Re: Batch DGN Conversion with 2010, not possible?
Post by: dgorsman on December 09, 2009, 07:10:34 PM
There is a DGN plug-in for Design Review which might be of some service.
Title: Re: Batch DGN Conversion with 2010, not possible?
Post by: SteveK on December 09, 2009, 07:16:00 PM
If you have a "master" file that owns all the xrefs, the DGNIMPORT will convert these files as well so you don't have to open each one up individually.
Unfortunately no  :| I suppose maybe a lisp could be written to attach them all as xrefs to a file (a very big file it would be) if it is then possible to convert them all. But the problem is I need them to remain individual dwg files.

There is a DGN plug-in for Design Review which might be of some service.
Design Review, I'll have to look that up. Thanks.


Short story long at the moment I'm the only one in the office with 2010 so I want to convert them all in one hit so people don't have to keep asking for individual conversions all the time.

I thought maybe I could script it but I'd have to select the file and enter a filename each time anyway. And the lisp way, well the problem is the same one with most batch lisps - lisp applies to a specific drawing only. Oh if only variables could be set to universal rather than just global    :cry:
Title: Re: Batch DGN Conversion with 2010, not possible?
Post by: SteveK on December 09, 2009, 08:21:30 PM
Update: I tried Design Review. I get the message that "DNG Import Plug-in only supports V8 DNG Files. Other versions are not supported."
By the look of it I'd say the Design Review plug-in would be the same as the acad 2010 feature.
Title: Re: Batch DGN Conversion with 2010, not possible?
Post by: ronjonp on December 09, 2009, 10:05:22 PM
If you have a "master" file that owns all the xrefs, the DGNIMPORT will convert these files as well so you don't have to open each one up individually.
Unfortunately no  :| I suppose maybe a lisp could be written to attach them all as xrefs to a file (a very big file it would be) if it is then possible to convert them all. But the problem is I need them to remain individual dwg files.

...

The attachment idea just might work. I have an idea to get this done...but will have to wait till the morn.
Title: Re: Batch DGN Conversion with 2010, not possible?
Post by: ronjonp on December 10, 2009, 12:01:04 PM
I tried a couple of things this morning but to no avail.....sorry man.
Title: Re: Batch DGN Conversion with 2010, not possible?
Post by: SteveK on December 10, 2009, 03:59:59 PM
Just got back to work myself. Thanks Ron for all your efforts anyway.  :-)

Conclusion: Not Possible.
Title: Re: Batch DGN Conversion with 2010, not possible?
Post by: David Hall on December 10, 2009, 04:04:15 PM
what about a script file?
Title: Re: Batch DGN Conversion with 2010, not possible?
Post by: ronjonp on December 10, 2009, 04:13:38 PM
what about a script file?

Tried that....could not figure out how to suppress one of the dialogue boxes (Used filedia and cmddia)