Screen Name of Revit User?

when I search for user all the nodes I’ve found return my Window’s User, but I’m looking for a way to get the screen name that’s logged into Revit, which doesn’t have to be the same as the Window’s User?

1 Like

@TurtleWolfe ,

you can work with the worksetowner also…

grafik

1 Like

Hi @TurtleWolfe,

Not tested but probably something like this in Python :

import clr
clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
uiapp = DocumentManager.Instance.CurrentUIApplication
app = uiapp.Application
OUT = app.Username
5 Likes

it passes testing

2 Likes