Announcements
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Revit API for Force Relinquish Model In ACC

Revit API for Force Relinquish Model In ACC

Hi Autodesk,

We need this API to help developers able to update data in models using Revit Design Automation, if not I belive it's is really hard to use Revit Design Automation on cloud.

ChuongHo_0-1748227162863.png

What I'm expecting :

- One API input the urn model to force Relinquish of all users owner that model, not only my self.

 

What is current now :

There are APIs available to check the checkout status of elements—for example, WorksharingUtils.GetCheckoutStatus(). However, there are currently no APIs that allow relinquishing ownership of elements not checked out by the current Revit user. The RelinquishOwnership() method only works for elements that are checked out by the current user.

4 Comments
keyu_chen_A8S84EE8MLBW
Community Visitor

Agree and it seems this is very helpful for automation and next step of more digitalisation objects. 

Scott_D_
Collaborator

I'd love to be able to Force Relinquish everything in the model.

 

Such a hassle saving it over the top of itself to work around issues, breaking backups etc.

BrookePeterson
Contributor

AND - this should not only be related to worksharing and multi user environment.

Single User cloud models should ALSO have an API to force release of user lock on the file.
We have seen many many times where a Revit Crash causes a file to remain locked to a user with no way to remove the user lock even as an account administrator.

Scott_D_
Collaborator

I had this when I changed my username.

 

I found I needed to relinquish elements and couldn't so I tried to change my username back to be able to relinquish them but I got the "username can't be an email address" warning and had to use the nuclear option. Not fun on a 2 year, multi-million pound project.

 

It would be nice if when you sync it actually does relinquish all the elements you've got booked out because sometimes it does not, for whatever reason.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea