revit app username vs. workset owner name

revit app username vs. workset owner name

richard.schaffranek
Enthusiast Enthusiast
303 Views
3 Replies
Message 1 of 4

revit app username vs. workset owner name

richard.schaffranek
Enthusiast
Enthusiast

Dear all,

I have encountered a strange behaviour which lead to a problem with a plugin.

I use the Username that I get from the app.Username to check if the current user is also the worksetOwner,

However I found a case where the app.username was written in CamelCase and the workset.owner was written in small letters. 

The fix is obviously easy, however I am now a little concerned what else can happen. 

Any idea how this can happen ? 

0 Likes
304 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni

No idea off-hand, so I asked the development team for you.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 4

richard.schaffranek
Enthusiast
Enthusiast

It is also displayed in the revit gui 

richardschaffranek_0-1702895638839.png

 

0 Likes
Message 4 of 4

Messi_Hu
Autodesk
Autodesk

@richard.schaffranek , I am looking at this issue. Can you answer my below questions?

what is the name in your Revit username in Revit Option dialog?

Did you change the display name recently?

Is this model cloud model or local worksharing model?

0 Likes