- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to learn VB .NET and running into a few snags.
I am running
Windows 7 Professional Service Pack 1 64 Bit
Microsoft Visual Studio Pofessional 2012 Upadte 4
OjectARX 2015
OjectARX 2015 .NET Wizards
AutoCAD MAP 2015
I have refernced in AcDbMgd.dll, AcMgd.dll, Autodesk.AutoCAD.Interop.Common.dll (I have tried both 32 & 64 bit), Autodesk.AutoCAD.Interop.dll(I have tried both 32 & 64 bit).
When tried to drill thru the intellisense ojects like in the demo it stops in certian locations. I tried to manually type in the code it gives me a blue underline and will not complie.
Imports Autodesk.AutoCAD.Interop
Imports Autodesk.AutoCAD.Interop.Common
Public Class AdskCommands
Public ReadOnly Property ThisDrawing() As AcadDocument
Get
**This is what it suppose to look like**
Return Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.AcadDocument
**Here is where it stops**
Return Autodesk.AutoCAD.ApplicationServices.Application.<<STOPS HERE>>
End Get
End Property
**This is what it suppose to look like**
<Autodesk.AutoCAD.Runtime.CommandMethod("myRoutine")>
**Here is where it stops**
<Autodesk.AutoCAD.Runtime.<<STOPS HERE>>
Public Sub myRoutine()
ThisDrawing.Utility.Prompt("Hello World")
End Sub
End Class
Thank you in advance for any advice or help.
Solved! Go to Solution.