Jump to content

AutoCAD VBA


sdubbs

Recommended Posts

I'm trying to run some code from AutoCAD 2006 in AutoCAD 2011 but it's failing on the thisdrawing.open

 

 
Sub main()
ThisDrawing.Open "C:\CGP1-L-099-PI1-93327-09.DWG"
End Sub

 

Run-time error '-2145386445 (80200033)':

 

Filer error

 

 

Has anyone ever come across this? I've been putting off rewriting this in .NET....

 

Thanks

Link to comment
Share on other sites

I've never looked at 2011, but for 2010 there was a vba something or other that you had to download to get it to work. Same for 2011 maybe?

Link to comment
Share on other sites

I've already downloaded and installed the vba enabler for AutoCAD 2011.

 

Thanks

 

Figured you probably had, but hey, sometimes the obvious is the first thing overlooked.

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