Worsets Parameter

Worsets Parameter

Cesar.mayorine
Explorer Explorer
313 Views
2 Replies
Message 1 of 3

Worsets Parameter

Cesar.mayorine
Explorer
Explorer

hello everyone!
is there any method (c# API) by which you can change the attributes of a workset, for example "IsEditable" from true to false?

314 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni

You can use all the non-read-only properties on the Workset class:

  

https://www.revitapidocs.com/2023/437250cb-c87d-4492-9a53-bde8605012f4.htm

  

The read-only properties cannot be modified directly. They are calculated from other relationships and dependencies. To understand how to change their values, you best bet will be to study the end user interactions and best practices for handling worksets. The API adds nothing more, it just reflect the existing UI functionality.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 3

Cesar.mayorine
Explorer
Explorer

Thank you for your reply!