I'm not sure if this will help but it's worth a try.
Try to lock the document and when you are done dispose the lock.
Autodesk.AutoCAD.ApplicationServices.DocumentLock documentLock =
wrote in message news:firstname.lastname@example.org...
I am getting the following error when using Transaction.GetObject() command
"Operation is not valid due to the current state of the object."
I have an ObjectIdCollection that i loop round and try
Dim ent As aaDS.Entity = CType(t.GetObject(oid, OpenMode.ForRead),
I've used the same line of code a good few times but this morning it's not
playing ball and throwing the above error.
Is there any way i can check the current state of the object to find out
what is wrong so that i know where to look? Or any pointers in general?