Is there a way in the API to find out the usernames that have users that have worksets checked out?
|
Is there a way in the API to find out the usernames that have users that have worksets checked out?
I assume that opening the worksets dialog and looking at the list doesn't suffice? Are you hoping to see whose checked out stuff outside of Revit? Without opening the project? Applications can only act on/within the current Revit session I believe so I don't think you'd be able to check in from outside. I'm just guessing at your goal though.
No. Can you explain more what you're trying to do. I'll add it to the wishlist.Is there a way in the API to find out the usernames that have users that have worksets checked out?
Guy
What I am thinking of doing is to write a program that from within Revit send a message to everyone with a borrowed object or workset checked out, to save to central.
To do that I need to know if the API can get the usernames of the users that have objects borrowed or workset checked out.
aah...not going to wait for them to do it eh? Great idea if you can pull it off. $$$$ in your eyes?
No workset functionality is exposed via the API. And to be honest I doubt the factory would expose this as a prioirity. Why? Because the ability to query users for STC is of such universal benefit it should be a Revit feature.What I am thinking of doing is to write a program that from within Revit send a message to everyone with a borrowed object or workset checked out, to save to central.
I'll add it to the API wishlist but if I was you I'd add to the general Revit wishlist as well.
Guy
ps: You could do it as a general messager service which would query all users that have a particular project file open. A bit more work and not Revit specific.
Last edited by GuyR; 2006-04-29 at 07:37 PM.