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.
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
i need thiis lisp ,so plse reply send me my mail ,what iam do,
thanking you sir
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:
and applyed my lisp on bunch of empty DWG files named as DGN files so when using DWGNAME variable i managed to import dgn...
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:
; error: bad argument type: FILE nil
What am I doing wrong?