Results 1 to 6 of 6

Thread: Getting Username

  1. #1
    Member
    Join Date
    2015-09
    Posts
    11
    Login to Give a bone
    0

    Default Getting Username

    Is there a way in the API to find out the usernames that have users that have worksets checked out?

  2. #2
    Revit Forum Manager Steve_Stafford's Avatar
    Join Date
    2001-12
    Location
    Irvine, CA
    Posts
    7,567
    Login to Give a bone
    0

    Default Re: Getting Username

    I assume that opening the worksets dialog and looking at the list doesn't suffice? Are you hoping to see whose checked out stuff outside of Revit? Without opening the project? Applications can only act on/within the current Revit session I believe so I don't think you'd be able to check in from outside. I'm just guessing at your goal though.

  3. #3
    AUGI Addict
    Join Date
    2003-11
    Location
    New Zealand
    Posts
    1,116
    Login to Give a bone
    0

    Default Re: Getting Username

    Is there a way in the API to find out the usernames that have users that have worksets checked out?
    No. Can you explain more what you're trying to do. I'll add it to the wishlist.

    Guy

  4. #4
    Member
    Join Date
    2015-09
    Posts
    11
    Login to Give a bone
    0

    Default Re: Getting Username

    What I am thinking of doing is to write a program that from within Revit send a message to everyone with a borrowed object or workset checked out, to save to central.

    To do that I need to know if the API can get the usernames of the users that have objects borrowed or workset checked out.

  5. #5
    Revit Forum Manager Steve_Stafford's Avatar
    Join Date
    2001-12
    Location
    Irvine, CA
    Posts
    7,567
    Login to Give a bone
    0

    Default Re: Getting Username

    aah...not going to wait for them to do it eh? Great idea if you can pull it off. $$$$ in your eyes?

  6. #6
    AUGI Addict
    Join Date
    2003-11
    Location
    New Zealand
    Posts
    1,116
    Login to Give a bone
    0

    Default Re: Getting Username

    What I am thinking of doing is to write a program that from within Revit send a message to everyone with a borrowed object or workset checked out, to save to central.
    No workset functionality is exposed via the API. And to be honest I doubt the factory would expose this as a prioirity. Why? Because the ability to query users for STC is of such universal benefit it should be a Revit feature.

    I'll add it to the API wishlist but if I was you I'd add to the general Revit wishlist as well.

    Guy

    ps: You could do it as a general messager service which would query all users that have a particular project file open. A bit more work and not Revit specific.
    Last edited by GuyR; 2006-04-29 at 07:37 PM.

Similar Threads

  1. username
    By cadmecheng in forum New Forum Users (Non technical)
    Replies: 2
    Last Post: 2007-03-01, 02:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •