Message 1 of 5
vb.net with AutoCad 2013

Not applicable
06-19-2013
10:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I using following Code to create a property "ThisDrawing". I want to use this to run customised program.
Public Class Class1
Public ReadOnly Property ThisDrawing As AcadDocument
Get
Return _
Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.acaddocument
End Get
End Property
End Class
I am getting error message as "acaddocument' is not a member of Autodesk.AutoCAD.ApplicationServices.Document".
Can any one help me to solve this problem.