Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Distinguished Contributor
159 Posts
2 Kudos
Registered: ‎08-26-2003
Post 21 of 28

Re: Batch convert DGN to DWG

04-27-2012 02:17 AM in reply to: ddotten

I suspect that the action of opening a new drawing stops the execution of the lisp routine in the original drawing unttil the focus is returned to the original drawing. This is the reason I use a different mode for DGNIMPORT in AutoCAD 2012. I think that I'm not able to find a solution for AutoCAD version 2011.

New Member
1 Posts
0 Kudos
Registered: ‎05-30-2012
Post 22 of 28

Re: Batch convert DGN to DWG

05-30-2012 09:26 PM in reply to: mmoolhuysen

first thankx sir

 

 

i try this tool in autocad 2012 but it is not working sir,some option is comming (Enter filename for DGN import:smileyhappy:

 i need thiis lisp ,so plse reply send me my mail ,what iam do,

 

 

thanking you sir

 

mohan

(mm4803@gmail.com)

Member
4 Posts
0 Kudos
Registered: ‎09-17-2012
Post 23 of 28

Re: Batch convert DGN to DWG

09-17-2012 10:21 AM in reply to: huaer605

This one work but is not exact a better program is needed.

Distinguished Contributor
160 Posts
0 Kudos
Registered: ‎01-29-2007
Post 24 of 28

Re: Batch convert DGN to DWG

10-08-2012 01:46 AM in reply to: OzzNick

I've managed to batch convert multiple DGN files using 3rd party software.

 

After, I've written my lisp

...

(command "-mapimport" "DGN_V7_V8" nn3 "Y" "c:\\hatch.ipf" "I" "yes" "")

...

and tested it on one DGN

i've bought and installed this:

http://www.cadfx.com/batchscr/

and applyed my lisp on bunch of empty DWG files named as DGN files so when using DWGNAME variable i managed to import dgn...

New Member
1 Posts
0 Kudos
Registered: ‎04-03-2013
Post 25 of 28

Re: Batch convert DGN to DWG

04-03-2013 11:54 AM in reply to: mmoolhuysen

I updated the paths for tx1, tx2 and tx3. I left tx4 as "default". When I tried running the lsp, I got the error msg:

Command: DGNI

; error: bad argument type: FILE nil

 

What am I doing wrong?

Thanks!!

New Member
2 Posts
0 Kudos
Registered: ‎01-03-2013
Post 26 of 28

Re: Batch convert DGN to DWG

09-10-2013 03:40 PM in reply to: arulanand12

Thanks for the lisp it is very useful

 

Asadhullah

Member
5 Posts
0 Kudos
Registered: ‎02-09-2014
Post 27 of 28

Re: Batch convert DGN to DWG

02-09-2014 01:52 AM in reply to: arulanand12

 

there is a nice tool for this : http://www.youtube.com/watch?v=cvBiFTWx_8I

New Member
1 Posts
0 Kudos
Registered: ‎07-08-2014
Post 28 of 28

Re: Batch convert DGN to DWG

07-08-2014 12:34 AM in reply to: lgabriel

Dear Sir, I found your message dated 27/11/2014 but I don't know how to contact you and send the dgn file to you?! Pl help! Thx!

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post