.NET

.NET

Reply
New Member
daniel.messenger
Posts: 1
Registered: ‎08-12-2008
Message 1 of 2 (1,417 Views)
Accepted Solution

'Open' is not a member of ApplicationServices.DocumentCollection

1417 Views, 1 Replies
04-25-2012 08:40 AM

I have a VB.NET 4.0 app which was working fine with references to ObjectARX 2011.

I have removed these references and added references to ObjectARX2013, and now I get the following error at compile time:

 

'Open' is not a member of 'Autodesk.AutoCAD.ApplicationServices.DocumentCollection'

 

Code:

Dim docs As DocumentCollection
docs = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager
docs.Open(sDrawingPath, False) 

 

Everything else works fine - if I common out the last line then it compiles fine.

Does anybody have any ideas? 

DocumentCollectionExtension.Open

P.S.: Also read ObjectARX for AutoCAD 2013 Docs: Managed Class Reference -> Migration Guide->.NET Migration Guide

Moderator
Alexander.Rivilis
Posts: 1,458
Registered: ‎04-09-2008
Message 2 of 2 (1,409 Views)

Re: 'Open' is not a member of ApplicationServices.DocumentCollection

04-25-2012 10:14 AM in reply to: daniel.messenger

DocumentCollectionExtension.Open

P.S.: Also read ObjectARX for AutoCAD 2013 Docs: Managed Class Reference -> Migration Guide->.NET Migration Guide


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.