Page 1 of 2 12 LastLast
Results 1 to 10 of 14
Like Tree1Likes

Thread: Apply view filter to all links but not active file

  1. #1
    Member anthonyB's Avatar
    Join Date
    August 31, 2011
    Location
    Sydney, Australia
    Posts
    360
    Current Local Time
    01:33 AM

    Apply view filter to all links but not active file

    Is it possible to apply a view filter to all of my Revit links, but not to the active file?

    I've got six building files attached to my building file. All share the same workset names and component family names.
    I used VG > Revit Links > Custom > Model Categories > ... selectively hide some categories and set the remaining ones a specific colour and hide their patterns. I did this six times.

    I thought a view filter may be able to accomplish this in one hit.
    I can set a filter that catches the linked files and modified them as I want, but it also catches the active file.
    How can I set it so it ignores the active file please?

    Thanks in advance.

    If this has been covered elsewhere, I can't see it. If so, please post a link.

  2. #2
    Member anthonyB's Avatar
    Join Date
    August 31, 2011
    Location
    Sydney, Australia
    Posts
    360
    Current Local Time
    01:33 AM
    Also, When applying a filter, under "Filter Rules", the "Filter by:" option allows me to select a parameter. I understand this. If I select "<More parameters...>" the Project Parameters dialog opens. If I select one, the dialog closes and nothing happens. Is something meant to happen? I can't see any Help files on this action. If there is some help on it can someone post a link please?
    Thanking you.

  3. #3
    Member
    Join Date
    May 18, 2011
    Location
    Calgary, AB
    Posts
    200
    Current Local Time
    09:33 AM
    I had a guy yesterday ask me a similar question, but in reverse.

    He wanted to filter the host model, butnot any of the likes (he was colouring up some walls and structural was getting in the way)

    He ended up filtering for the family type name then filtered by using greater than worksets. Since the host model had worksets starting with AR and all the Revit links (started with RVT) he could pick the last AR workset and the greater than condition picked up all the other AR worksets before.

    Kind of backwards thinking but he got it to work. We were limited because he couldn't filter for "begins with" for worksets or else that would have been the logical choice.

    Maybe something along those lines would work for you?

  4. #4
    Member anthonyB's Avatar
    Join Date
    August 31, 2011
    Location
    Sydney, Australia
    Posts
    360
    Current Local Time
    01:33 AM
    Thank you for your suggestion cheinaranta. It works, sort of.
    My testing show that when this is applied, Revit is searching for what Workset the elements are on in the linked file, not what element the link is on in my current file.
    Our files are not complex and all active building elements are on Workset1 in their respective files. So when I renamed Workset1 in my active file to be SomethingElse then the filter worked.
    This raises two issues:
    * What other general linking or visibility problems might be created by renaming this workset?
    * This will only work in this file. If I want to do the same in another file in the set, then I'd have to swap the Workset names around again. Not practical.
    I'll keep searching. Thanks again.

  5. #5
    Mr. Revit OpEd
    Join Date
    December 14, 2010
    Posts
    2,315
    Current Local Time
    08:33 AM
    Quote Originally Posted by anthonyB
    ...If I select "<More parameters...>" the Project Parameters dialog opens. If I select one, the dialog closes and nothing happens. Is something meant to happen?
    If nothing happens I think that means the category(ies) you've selected don't have that parameter assigned to them. It might be a valid project parameter but it isn't associated with the category you're working with in the Filter.

  6. #6
    Moderator DaveP's Avatar
    Join Date
    January 10, 2011
    Location
    St Paul, MN
    Posts
    2,263
    Current Local Time
    10:33 AM
    Quote Originally Posted by anthonyB View Post
    Our files are not complex and all active building elements are on Workset1 in their respective files. So when I renamed Workset1 in my active file to be SomethingElse then the filter worked.
    .
    Something you said there set off warniong bells in the dark recesses of my memory.
    Sure enough. Found a post on Luke's What Revit Wants blog
    Its a bad idea to rename Workset 1

  7. #7
    Member
    Join Date
    May 18, 2011
    Location
    Calgary, AB
    Posts
    200
    Current Local Time
    09:33 AM
    Quote Originally Posted by anthonyB View Post
    Thank you for your suggestion cheinaranta. It works, sort of.
    My testing show that when this is applied, Revit is searching for what Workset the elements are on in the linked file, not what element the link is on in my current file.
    Our files are not complex and all active building elements are on Workset1 in their respective files. So when I renamed Workset1 in my active file to be SomethingElse then the filter worked.
    Greater than and less than for worksets is a bit of a mystery. I think we got lucky that it worked for our situation.
    Good luck.

  8. #8
    Mr. Revit OpEd
    Join Date
    December 14, 2010
    Posts
    2,315
    Current Local Time
    08:33 AM
    Quote Originally Posted by DaveP
    Something you said there set off warniong bells in the dark recesses of my memory.
    Sure enough. Found a post on Luke's What Revit Wants blog
    Its a bad idea to rename Workset 1
    I'm not certain that this isn't a bit of urban legend. I made it a habit of not renaming it but not because of corruption. I'd like to think that if Autodesk really identified renaming Workset 1 as a bad thing that they wouldn't let us (A) do so in the opening dialog while enabling worksets or (B) allow it to be renamed later.

  9. #9
    Member anthonyB's Avatar
    Join Date
    August 31, 2011
    Location
    Sydney, Australia
    Posts
    360
    Current Local Time
    01:33 AM
    Quote Originally Posted by Steve_Stafford View Post
    If nothing happens I think that means the category(ies) you've selected don't have that parameter assigned to them. It might be a valid project parameter but it isn't associated with the category you're working with in the Filter.
    Thanks for the suggestion. I just tested this with a shared param that is in all files and applied to an example target category, but still nothing happens.

  10. #10
    Member anthonyB's Avatar
    Join Date
    August 31, 2011
    Location
    Sydney, Australia
    Posts
    360
    Current Local Time
    01:33 AM
    Quote Originally Posted by Steve_Stafford View Post
    I'm not certain that this isn't a bit of urban legend. I made it a habit of not renaming it but not because of corruption. I'd like to think that if Autodesk really identified renaming Workset 1 as a bad thing that they wouldn't let us (A) do so in the opening dialog while enabling worksets or (B) allow it to be renamed later.
    I agree with this. When I was taught Revit back on v2009 my trainer said not to rename Workset1 and it did appear to be the general consensus. However recent internet chatter would indicate this is not an issue of concern.

    Having said that, my concern on this occasion was more to do with visibility and linking. On a large project I worked on back on v2013 we had several models, each with a few worksets, all linked together, each link in its own Workset. We found that sometime a linked model would not display when we thought it should. (Perhaps we just got confused with remembering to turn the workset on, and then in VG turning the appropriate Workset and Revit Links on/off, but I don't think so.) I thought that perhaps the Workset name MyWorkset in this file was somehow linking through to MyWorkset in the linked file and controlling its display. I was not able to properly sort it out but we got through.

Page 1 of 2 12 LastLast

Similar Threads

  1. Filter for Architectural Use with MEP Links
    By chompi0n in forum Architecture and General Revit Questions
    Replies: 7
    Last Post: October 23rd, 2014, 03:53 PM
  2. Get name of active document file?
    By doni49 in forum Third party Add-Ins, API and R&D
    Replies: 3
    Last Post: July 8th, 2014, 01:10 AM
  3. Revit OpEd: Apply versus APPLY and View Templates
    By Revit OpEd in forum Blog Feeds
    Replies: 0
    Last Post: June 21st, 2013, 09:15 PM
  4. Pan Active View
    By Joshua Kohl in forum Architecture and General Revit Questions
    Replies: 0
    Last Post: February 26th, 2013, 07:28 PM
  5. Apply View Filter
    By bburling in forum Third party Add-Ins, API and R&D
    Replies: 2
    Last Post: December 8th, 2011, 02:57 AM

Posting Permissions

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