Before the file is checked Into vaule using AutoCAD i need to do few validations, for that i am planning to use the Longtransactionmanager and checkInEvent.
But if i used that the document will be in Lock mode. and gets checkin into vault.
i want to stop the checkIn event from processing if the validation failes.
Is there any way to get this done?
Not sure I am understanding you fully... If that is not possible, rather than preventing the check in from happening, perhaps you could instead evaluate the drawing after it has been checked in, is not locked, and then could close/remove the drawing based on failed validation?
Or, disable any kind of check-in operation unless the file has a validation flag set.
Not sure that I know enough about Vault to have chimed in this early, but certainly if that is possible to accomplish, I'd have to say it would be the OP's preference... Question was how to accomplish?
OK. Let me try to focus on a simple operation
I have a template for my drawings created in AutoCAD 2014 which is block with attributes.
The user has to enter all the values for all the block attributes before CHECKING-IN the file into vault.
Sometimes user forget some values or might purposely leave a value null due to shortage of time.
I want to validate the block attributes for any null value before the CHECKIN operation is completed.
If there are any invalid or null values the CHECKIN operation has to be aborted and display a message.
This is what i want to do.
This sounds ok, this will work only if the user tries to modify the file, or use the block editing command.
I jumped through this link today.
I am currently travelling. Will try and get back on Monday and its good that you are in sunc using iPhone..
Instead of the link you posted, using an escape character, this is one that came to mind when making my earlier post, which actually provides a means by which to Veto() the Command:
... I've made use of this methodology recently here, offering user three TaskDialog options when QUIT is invoked, as an example:
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register