Get the IP address of Revit user

Get the IP address of Revit user

KM_Yotsuha
Advocate Advocate
524 Views
3 Replies
Message 1 of 4

Get the IP address of Revit user

KM_Yotsuha
Advocate
Advocate

In revit ,I can get the name of owner of a given workset:

KM_Yotsuha_0-1661156075573.png

Can I get the IP Address of the computer that the Owner uses?

or how can I locate the computer which owns the workset?

in our team,we have a workset owned by a userA,but no one knows userA,Is there a way to locate userA’s computer?

0 Likes
Accepted solutions (1)
525 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni

I am not aware of any support for this from the Revit API. Sorry about that.

  

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

kraftwerk15
Advocate
Advocate
Accepted solution

Before directly answering your question, is this coming up frequently or do you just need to Force Relinquish once on this model?

 

https://knowledge.autodesk.com/support/bim-360/troubleshooting/caas/sfdcarticles/sfdcarticles/Relinq...

 

If this is happening frequently, the next question you should ask is why is it happening frequently. Also then, my next question would be is this BIM360/ACC hosted or not? Is there a service running on your models that are opening and doing some type of task?

 

Nothing to my knowledge writes the IPAddress to a network location. Whether this is Journal files or something else. You would then have to gather Journal files from individual machines anyways so this would not help in your circumstance.

 

Also, nothing you could do with the API unless you have an addin that saves the IPAddress of the machine to a network location. In that scenario, you would have to install an addin to all machines in your company. But, would be happy with other thoughts from the community.

Message 4 of 4

RPTHOMAS108
Mentor
Mentor

Is not practical to relate ownership of worsets to IP addresses:

1) ISPs sometime dynamically assign the IP so they aren't always stable for the same PC/User

2) Sometimes the same user works in different environments (they log-in with a consistent Autodesk id).

 

If organisations want to enforce which worsets are edited by which people the best way to achieve that is via single sign on licenses.

 

A bit painful though if someone checks-out workset and then disappears off the face of the earth. You would be forced to save over the central.