Hello,
I need to change the Editable Status to "No" for selected workset.
I am able to get status of Workset as workset.IsEditable.
Also I am able to change the visibility of Workset for respected view as
view.SetWorksetVisibility(workset.Id, WorksetVisibility.Hidden);
OR
WorksetDefaultVisibilitySettings defaultVisibility = WorksetDefaultVisibilitySettings.GetWorksetDefaultVisibilitySettings(doc);
defaultVisibility.SetWorksetVisibility(workset.Id, false);
But I am not finding any way to change the Editable Status of Workset to "No".
Thanks in advance to all for helping me to resolve this issue.
Regards,
Rajesh
Dear Rajesh,
You are completely correct, the workset IsEditable predicate is read-only.
In Revit 2015, the entire workset API is read-only.
Some read-write functionality was added in Revit 2015 R2:
http://thebuildingcoder.typepad.com/blog/2015/02/revit-2015-r2-and-the-read-write-workset-api.html
I hope this helps.
Cheers,
Jeremy
Hi Jeremy,
Thanks for your quick response by providing valuable information.
I was planning to develop application to update Editable property of various Project Standards on selection of Multiple Revit Projects.
But since Autodesk has not provided the functionality, I will not be able to.
Is there any turn around to do this?
Thanks again for your kind help
Regards,
Rajesh