Results 1 to 8 of 8

Thread: Prevent Workset ID from changing

  1. #1
    Member
    Join Date
    2014-02
    Posts
    44
    Login to Give a bone
    0

    Default Prevent Workset ID from changing

    When I receive models from consultants I run dynamo to put certain items on shared levels and grids so I can turn them off easily in my model.
    Some models I receive are not set up to be a central model, so I do so, so I can dynamo to clean things up.
    The problem is the ID is different every time I do this on the same model when I get an update.
    So when I reload the model the workers that were turned off get reset.


    Does anyone know how I can change the ID of a workset so I can keep it consistent when repeatedly create a workshare model each time i get an update?

    Or is there another way to take of this problem?

    Also I'm assuming this is my problem of why when loading anew model the worksets that are turned off get reset, this doesn't happen with other models that already have worksets.


  2. #2
    Super Moderator david_peterson's Avatar
    Join Date
    2002-09
    Location
    Madison, WI
    Posts
    5,687
    Login to Give a bone
    0

    Default Re: Prevent Workset ID from changing

    I don't believe you can change element IDs. It's also probably not wise to do so, since you won't know what element IDs are available.
    Next you could look at the GUID, but I don't think you can change that either.
    I did take a peak on the forum.DynamoBIM.org site. That's where you'd find the answer if there was one.

  3. #3
    Super Moderator CAtDiva's Avatar
    Join Date
    2015-10
    Location
    Where pedals spin to move wheels
    Posts
    441
    Login to Give a bone
    0

    Default Re: Prevent Workset ID from changing

    So I'm guessing you're using worksets for visibility. While this is certainly possible, have you looked into using View Templates and Filters? I find this to be more effective to manipulate graphics/visibility, particularly when working with linked models that have to be reloaded regularly.

    Using filters you can identify those items and turn off their visibility in your views. For example, some companies will name their grid & level types to include the company initials, then create a filter that is "Not company" which can then be applied in a View Template and the visibility box un-checked.

  4. #4
    Member
    Join Date
    2014-02
    Posts
    44
    Login to Give a bone
    0

    Default Re: Prevent Workset ID from changing

    Thanks all for the input. There are items in the linked file I never want to see in my model but I don't want to delete. So I move them to the shared levels and grids workset and turn it off in my model through manage links.
    If if I didn't o this I would still want to turn this workset off in my model.
    I figured out though that if I create a workset in my model "framing shared levels and grids" and have this off in all views, then when I make the consultant model a workshared model I name the workset the same.
    This way I don't have to turn the workset off in manage links each time.

  5. #5
    Super Moderator david_peterson's Avatar
    Join Date
    2002-09
    Location
    Madison, WI
    Posts
    5,687
    Login to Give a bone
    0

    Default Re: Prevent Workset ID from changing

    The issue I see with using workset for VG stuff is the same issue I see when we used cad. Worksets weren't meant to be layers. If you end up with items in the wrong workset you may never seen them until they're trying to install the in the field. I typically always go turn off categories in links (typically all the annotation categories) in the templates and go from there.

  6. #6
    Member
    Join Date
    2018-04
    Location
    VOLS FAN STUCK IN NOTRE DAME
    Posts
    30
    Login to Give a bone
    0

    Default Re: Prevent Workset ID from changing

    I use work sets for visibility also, like today I inserted the floor outlets in the model, I want to see them on the floor finish plan but not the outlets and switches, so I put them on the floor work set. I still have to master filters, don't understand them yet. Can someone recommend a good tutorial for filters?

  7. #7
    Member
    Join Date
    2014-02
    Posts
    44
    Login to Give a bone
    0

    Default Re: Prevent Workset ID from changing

    Yes, I agree this can be an unseen problem!

    I run a dynamo graph on all consultant models that move all Levels, Grids, Reference plans, Scope boxes, and Matchlines to the S/L&G workset. It also moves all elements on that workset, not in the list of categories, and moves it to a workset that is turned on. This way I don't turn off something that was mistakenly put on that workset.

  8. #8
    Super Moderator david_peterson's Avatar
    Join Date
    2002-09
    Location
    Madison, WI
    Posts
    5,687
    Login to Give a bone
    0

    Default Re: Prevent Workset ID from changing

    This thread might help.
    https://forums.autodesk.com/t5/revit...t/td-p/7706868
    This may also be useful
    https://thebuildingcoder.typepad.com...t-workset.html
    Of course you could also look at the response from your thread on the Dynamo Forum as well.
    https://forum.dynamobim.com/t/change-workset-id/51629
    There's also this
    https://forum.dynamobim.com/t/extrac...-dynamo/1931/8
    Using this method I'd think you might be able to get that information from the model and feed it into graph your using.
    Seems like a better idea than trying to change element IDs

Similar Threads

  1. 2014: Worksets to prevent ppl changing things accidentally
    By doneill680551 in forum Revit Architecture - General
    Replies: 4
    Last Post: 2015-02-09, 05:06 PM
  2. Set Workset by user pick and/or hide workset by user pick
    By Wish List System in forum Revit - Worksharing/Worksets/Revit Server
    Replies: 1
    Last Post: 2013-02-18, 09:39 PM
  3. Active Workset is changing to a different Active Workset and objects being modeled on the wrong workset.
    By Baldwin_4-6-0 in forum Revit - Worksharing/Worksets/Revit Server
    Replies: 16
    Last Post: 2012-03-09, 02:51 PM
  4. deleting a workset deletes more than just that workset
    By timsea81 in forum Revit - Worksharing/Worksets/Revit Server
    Replies: 6
    Last Post: 2011-06-02, 08:03 PM
  5. Model object on View Workset (was Unsolvable Workset Issue)
    By CAD Monkey in forum Revit - Worksharing/Worksets/Revit Server
    Replies: 4
    Last Post: 2006-02-24, 08:47 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
  •