Message 1 of 7
GetAcadDocument
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm having trouble trying to get the GetAcadDocument method to work.
2012 code:
ThisDrawing = DocumentManager.MdiActiveDocument.AcadDocument
2013:
ThisDrawing = DocumentExtension.GetAcadDocument(Application.DocumentManager.MdiActiveDocument)
Produces a run time error. I know just enough .net to brute force my app to do what I want and would appreciate any help.
Thanks,
Phil