I have referenced acdbmgd and acmgd dlls from AutoCAD to my project(int C# .NET 3.5 platform) but i am unable find the LongTransactionManager class in the same.
I get an error like
The type or namespace name 'LongTransactionManager' could not be found (are you missing a using directive or an assembly reference?
I request a little help from the community
I am sorry. My previous post had a typo. What i meant was i could not find the solution
I did try that. It is working perfectly for AutoCAD 2012. But in the case of AutoCAD 2010 API I just could not find the same.
Please help me out here.
The LongTransactionManager class have been added with the AutoCAD 2011 API. It doesn't exist in prior versions.
Is there any way implement this class? I need to use the events in that class such as "Check in","Check out"..etc.
Any work around for this problem?
My Google searches have not found a good explanation of what this does. Can someone point me to some documentation and explanation of what this is used for?
If I remember correctly it is used for checking in out objects and for example refedit uses it. Last time I looked at it, it was implemented incorrectly and unusable for .NET API.
If your trying to subscribe to events then check out
Thank you very much for the replies. As Jeff mentioned, it is used for checking in out objects.
I did try that link that Jeff has provided. But when i tried to register to the events. I am getting an error :
"Autodesk.AutoCAD.ApplicationServices.Application' does not contain a definition for 'LongTransactionManager'"
This is what i have been trying to say.
I am using AutoCAD 2010 API. Not AutoCAD 2012.
In AutoCAD 2012 API I am able to register to those evnts but not in AutoCAD 2010 API.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.