Jump to content

Import .dgn VBA


pr42

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

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...