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?
Solved! Go to Solution.
Solved by Alexander.Rivilis. Go to Solution.
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