.NET

.NET

Reply
New Member
1 Posts
0 Kudos
Registered: ‎08-12-2008
Post 1 of 2
Accepted Solution

'Open' is not a member of ApplicationServices.DocumentCollection

1447 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
1,468 Posts
277 Kudos
Registered: ‎04-09-2008
Post 2 of 2

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!