Custom Properties | Request | Standard pyRevit

Would it be possible to add the ability to read the information from WorkSharingTooltipInfo to the dock?
And the Element ID at the top to make it easier to copy and paste it.

As this data isn’t parameters per se, it cannot be added.

Revit Lookup snip:

I’ve done a bit of research into the tool, but I don’t think my knowledge is yet at the level required to edit the project.

I’ve built the helpers to extract the information from the tooltip, but I don’t know how to implement them.

def _get_worksharing_creator(doc, element):
    try:
        if not doc.IsWorkshared:
            return ""
        if not element:
            return ""

        tooltip_info = WorksharingUtils.GetWorksharingTooltipInfo(doc, element.Id)
        if tooltip_info:
            return tooltip_info.Creator or ""
    except Exception:
        pass
    return ""


def _get_worksharing_last_changed_by(doc, element):
    try:
        if not doc.IsWorkshared:
            return ""
        if not element:
            return ""

        tooltip_info = WorksharingUtils.GetWorksharingTooltipInfo(doc, element.Id)
        if tooltip_info:
            return tooltip_info.LastChangedBy or ""
    except Exception:
        pass
    return ""


def _get_worksharing_owner(doc, element):
    try:
        if not doc.IsWorkshared:
            return ""
        if not element:
            return ""

        tooltip_info = WorksharingUtils.GetWorksharingTooltipInfo(doc, element.Id)
        if tooltip_info:
            return tooltip_info.Owner or ""
    except Exception:
        pass
    return ""

It would be brilliant if they could be placed at the end, that is to say:
Workset
Design Option
----[Divider]—
Parameter section

----[Divider]—
Worksharing tooltip info

Thnx for the support

Thanks for the feedback! For future feature requests, please use the GitHub issue form so they can be tracked properly. I’ll copy this one over and take a look.

EDIT: the non-existing parameters as dividers are a nice trick. Could possibly be implemented somehow as well