.NET
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
StartUserI nteraction for AutoCAD 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I'm trying to update some VB.Net code for AutoCAD 2013, and am slowly slogging my way through the API changes. Here's one I haven't been able to figure out yet:
The following line worked in pre-2013, but not anymore...
Dim eui AsEditorUserInteraction = Application.DocumentManager.MdiActiveDocument.Editor.StartUse
I get this error in the editor...
Error 12 Value of type 'IECAD.fSymbols' cannot be converted to 'System.IntPtr'.
IECAD.fSymbols is a form in my application, and the error references the Me in my statement. What is the current correct way to activate a form while allowing for user interaction (like picking a point)?
Thanks.
Solved! Go to Solution.
Re: StartUserI nteraction for AutoCAD 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Never mind... I figured it out. Changing Me to Me.Handle did the trick.
Hope this helps someone else!
Re: StartUserI nteraction for AutoCAD 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks for posting your solution.
Andrew Puller
Maitland, NSW, Australia
Windows 7 Enterprise 64bit
Intel core i7 2600 @ 3.40 GHz with 16GB Ram
Civil 3d 2013 64bit
Re: StartUserI nteraction for AutoCAD 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks for the solution! It was driving me caazy!!!
Re: StartUserI nteraction for AutoCAD 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Glad to help!
