Hello Marcel,
Maybe this is a lightweight version of what you are looking for:
import clr
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
doc = DocumentManager.Instance.CurrentDBDocument
clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import *
elements = UnwrapElement(IN[0])
creator = []
changer = []
owner = []
for x in elements:
tooltip = WorksharingUtils.GetWorksharingTooltipInfo(doc, x.Id)
creator.append(tooltip.Creator)
changer.append(tooltip.LastChangedBy)
owner.append(tooltip.Owner)
OUT = creator, changer, owner
It will look at your local file and give you the same information as looking at the worksharing visibilty options. Just feed it the elements you want to examine. My example file looks at all MEP objects.Worksharing element checkout owners.dyn (28.8 KB)