.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

'Open' is not a member of ApplicationServices.DocumentCollection

1 REPLY 1
SOLVED
Reply
Message 1 of 2
daniel.messenger
2371 Views, 1 Reply

'Open' is not a member of ApplicationServices.DocumentCollection

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? 

1 REPLY 1
Message 2 of 2

DocumentCollectionExtension.Open

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

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost