AutoCAD Map 3D Developer
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Error:Auto mation error [-21474672 59 (80004005) ]
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
286 Views, 2 Replies
09-16-2008 11:48 PM
Can anyone tell me why i m getting a automation error
My condition gets satisfied and after that i get automation error msgbox
What am i doing wrong?
For Each acadOBJ In ThisDrawing.ModelSpace
boolVal = ODrcs_PB.Init(acadOBJ, True, False)
Do While ODrcs_PB.IsDone = False
If ODrcs_PB.Record.Item(iTypeFieldIndex).Value = PillarType Then
MsgBox "Sucess"
End If
ODrcs_PB.Next
Loop
Next
My condition gets satisfied and after that i get automation error msgbox
What am i doing wrong?
For Each acadOBJ In ThisDrawing.ModelSpace
boolVal = ODrcs_PB.Init(acadOBJ, True, False)
Do While ODrcs_PB.IsDone = False
If ODrcs_PB.Record.Item(iTypeFieldIndex).Value = PillarType Then
MsgBox "Sucess"
End If
ODrcs_PB.Next
Loop
Next
Re: Error:Auto mation error [-21474672 59 (80004005) ]
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-18-2012 05:44 AM in reply to:
vedantgoyal
I've got the same problem to do this
robapp.Project.PrintEngine.SaveReportToFile fichier_sortie, I_OFF_RTF_JPEG
but the command has worked good before.
I don't know what has been changed.
Re: Error:Auto mation error [-21474672 59 (80004005) ]
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-06-2012 08:49 PM in reply to:
mateaus
Which version of Map 3D are you using? 32bit or 64bit? Would you please provide a complete code snippet for test?
Since you are asking VBA questions, I would suggest you to migrate your VBA program to VB.net, please take a look at this blog:
Daniel Du
Developer Technical Services
Autodesk Developer Network
