It looks like you're new here. If you want to get involved, click one of these buttons!
I want to work with events and also access objects after transaction has ended.
For that I need the openclosetransaction. Can anyone tell me how to use the openclosetransaction? Maybe you have a little example?
That is a pretty generic description, but then you say you must use openclosetransaction.
You should not be focused on this forum alone for .net. You must use theswamp.org, autodesk forum, and throughtheinterface blog, as well as others. The bcad .net API matches autocad's. I found this with google:
also, this link is important to understanding openclosetransaction:
I had not heard of it so learned just now what it does.
You probably do not need to use any transaction within your event handler because while a 'Modified' event is triggered, the object is already opened for write, simply get the object from the 'sender' parameter of the the event handler.
See this similar topic: