pr42 Posted January 5, 2017 Share Posted January 5, 2017 Hi! I am trying to convert a list of .dgn files to .dwg and I could not find code to import a single one. I think that I can fix with the rest of the code, but I am stuck in that part. Can someone help me? Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 6, 2017 Share Posted January 6, 2017 1 Dgnimport say no more about that part 2 Multiple dgn's use a script 3 search here for post about "DGN import" lots of explanation of about how to do 200+ dgn's 4 Dont need VBA simple script Quote Link to comment Share on other sites More sharing options...
pr42 Posted January 10, 2017 Author Share Posted January 10, 2017 Thanks for the help. I used the following code: ThisDrawing.SendCommand "-dgnimport" & vbCr & dgnFile & vbCr & vbCr & vbCr & vbCr Where "dgnFile" is the file I want to import. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.