Hi, is there any way to open Worksets when Revit model has been already opened?
The revitapidocs says about WorksetConfiguration:
the methods of this class just adjust the specification, and do not themselves open or close worksets.
But is there any way how to apply this specification to the project/model to actually open the Worksets?
This is my attempt - doesn’t work for me of course
from Autodesk.Revit import DB doc = __revit__.ActiveUIDocument.Document if doc.IsWorkshared: ws_collector = DB.FilteredWorksetCollector(doc)\ .OfKind(DB.WorksetKind.UserWorkset) ws_ids =  for ws in ws_collector: if "link" not in ws.Name.lower(): ws_ids.append(ws.Id) t = DB.Transaction(doc, "Open Non Link Worksets") t.Start() ws = DB.WorksetConfiguration() ws.Open(ws_ids) t.Commit()