Accessing different object models from a managed application.

Accessing different object models from a managed application.

Anonymous
Not applicable
202 Views
0 Replies
Message 1 of 1

Accessing different object models from a managed application.

Anonymous
Not applicable
Hello, This is a .NET sample from ADN / Research the Knowledge Base / AutoCAD Developer Center / .NET I tried this sample project by using VS C# 2002 or 2003. It can not be compiled. Errors as following: c:\projectsarx\test\dotnet\accessingdifferentobjectmodels\objectmodelstest2\mgdarx\class1.cs(56,23): error CS0117: 'Autodesk.AutoCAD.ApplicationServices.DocumentCollection' does not contain a definition for 'LockDocument' c:\projectsarx\test\dotnet\accessingdifferentobjectmodels\objectmodelstest2\mgdarx\class1.cs(61,6): error CS0200: Property or indexer 'Autodesk.AutoCAD.DatabaseServices.ObjectId.OldId' cannot be assigned to -- it is read only c:\projectsarx\test\dotnet\accessingdifferentobjectmodels\objectmodelstest2\mgdarx\class1.cs(62,54): warning CS0618: 'Autodesk.AutoCAD.DatabaseServices.ObjectId.Open(Autodesk.AutoCAD.DatabaseServices.OpenMode)' is obsolete: 'Use Transaction.GetObject instead' Can anybody from Autodesk give a help? I think this sample would be very valuable if it works. Thank you. Zhongwei Xia
0 Likes
203 Views
0 Replies
Replies (0)