Donate Now Goal amount for this year: 3000 USD, Received: 1207 USD (40%)

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
Like Tree5Likes

Thread: Control family visibility with shared project parameter

  1. #1
    Junior Member
    Join Date
    August 6, 2015
    Posts
    14
    Current Local Time
    08:31 PM

    Control family visibility with shared project parameter

    Revit Version 2015

    Hello Revit Forum,

    What I would like to do is hide a family in all views within a project. I would like to do this by adding a Toggle within the project properties (not within the family properties). I have created a Yes/No shared parameter. I brought that parameter into the family as a Type and associated the visibility of the family to that parameter. I have also added the parameter to the Project Parameters under the view category so it'll show up in the view properties.

    This process does not seem to work. The only way I can get the family to turn off is by selecting the family and toggle it off within the Edit Type pop-up. Any ideas?

    A little background in the why....we call the family a "dummy fixture" basically it holds parameters for scheduling purposes and are used to tag plumbing fixtures within the Architects model. We do not copy/monitor the Architects plumbing fixtures so in order to tag and use schedules we have created this dummy fixture. Because the plumbing fixtures are displayed within the Architects model we use this dummy fixture but would like to hide it so it doesn't print.

    I hope this all makes sense, if not I can include pictures which are worth a few more words.

    Thanks!

  2. #2
    Senior Member chris.macko's Avatar
    Join Date
    April 12, 2011
    Location
    Chicago, IL
    Posts
    523
    Current Local Time
    09:31 PM
    I'm not sure what you are trying to do is possible, but you could easily add a filter to your sheet views that would hide the family, and just leave it visible on the working views.

  3. #3
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    10,036
    Current Local Time
    09:31 PM
    Unfortunately, the method you have tried using doesnt make any sense, as far as the program is concerned. What you want to do is *sort of* possible, but it isnt going to work the way you describe, at all. If you want to have a "Global method" of turning things off in EVERY view, here is what you need to do:

    1. View Ribbon > Filters > Create a new filter that selects the objects you want to turn off. Lets say you choose "Family Name" "Contains" "DummyTag."
    2. In EVERY View Template you have (assuming you are using them, if you arent, this process really stinks), add the Filter to VG:Filters, and UNCHECK the Visibility parameter.

    3. Now, there is a way to toggle them on and off quickly: Its not editing the VG:Filter setting, though. Its editing the filter itself.

    Anytime you want to SEE all the Dummy Tags, you go in to View Ribbon > Filters, and you change the "contains" Field to say *DummyTagXX* instead of *DummyTag.* Essentially, it means the filter is still in every view, turning stuff off, but its not finding anything to turn off.

    Anytime you want to NOT SEE all the dummy tags, you go in to View Ribbon > Filters, and you change the "contains" Field to say "DummyTag" again, and the Filter will now resume hiding all of the objects.

    What you tried to do (adding the parameter to the families, then adding it to "views" also) simply puts the parameter in both: Views, and families. They are in zero ways associated.
    josephpeel, cganiere and Carchee like this.

  4. #4
    Forum Addict josephpeel's Avatar
    Join Date
    May 3, 2012
    Posts
    1,396
    Current Local Time
    04:31 AM
    Or you could just put them all in a workset and make the workset globally invisible...
    (I know.. using worksets for visibility control is evil. but for a specific application like this it is quick and easy).
    tzframpton likes this.

  5. #5
    Junior Member
    Join Date
    August 6, 2015
    Posts
    14
    Current Local Time
    08:31 PM
    Chris - yes but aren't sheet filters controlled sheet by sheet, in other words I would have to create that filter for each sheet? You cannot apply a view template to sheet views.

    joseph - We use view templates and so I would need to toggle them on/off for each view template (which are many) and we toggle them frequently thus not practical or at least not time saving.


    Twiceroadsfool - this is an interesting idea. Although we do use view templates, I can't see this being an improvement for the same reason as josephs suggestion. We toggle these fixtures off every time we print or plot to pdf and hard copies. That would require us to open each template each time we plotted and then again when finishing plotting and it doesn't seem to save any time. In fact it would take more time than how we currently do it.

    Perhaps I could use either ideas and create a program that will go through each template and turn them on/off.

    Thanks for the help.
    Last edited by Carchee; June 6th, 2016 at 08:36 PM.

  6. #6
    Senior Member Alex Page's Avatar
    Join Date
    December 14, 2010
    Location
    Wellington, New Zealand
    Posts
    647
    Current Local Time
    02:31 PM
    If the visibility parameter is a type based parameter: Tie it to a global parameter and just turn it on and off through global parameters.

    Oh - my bad - didnt see Revit 2015 in your post
    Last edited by Alex Page; June 6th, 2016 at 08:53 PM.

  7. #7
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    10,036
    Current Local Time
    09:31 PM
    Quote Originally Posted by Carchee View Post

    Twiceroadsfool - this is an interesting idea. Although we do use view templates, I can't see this being an improvement for the same reason as josephs suggestion. We toggle these fixtures off every time we print or plot to pdf and hard copies. That would require us to open each template each time we plotted and then again when finishing plotting and it doesn't seem to save any time. In fact it would take more time than how we currently do it.
    You didnt read my instructions correctly. To turn the items off in EVERY SINGLE VIEW will required you to edit a SINGLE FILTER in ONE DIALOGUE. You wont need to go in to a view template at all, once its set up. Reread the instructions and try it again.

  8. #8
    Junior Member
    Join Date
    August 6, 2015
    Posts
    14
    Current Local Time
    08:31 PM
    Twiceroadsfool - I read through the whole thing the first time but when I came back to it later to actually process it and try it I didn't read the last parts, boy do I feel dumb . Anyway it works great thanks for your help.

    Alex Page - Although this specific project is 2015 we do use this same plumbing fixture in 2016 so your post isn't entirely useless. However I was under the impression that Type parameters couldn't be tied to Global parameters. Did that change in the latest update?

  9. #9
    Senior Member Alex Page's Avatar
    Join Date
    December 14, 2010
    Location
    Wellington, New Zealand
    Posts
    647
    Current Local Time
    02:31 PM
    Yes - in 2017 the type parameter can be tied to a Global parameter.
    josephpeel likes this.

  10. #10
    Senior Member chris.macko's Avatar
    Join Date
    April 12, 2011
    Location
    Chicago, IL
    Posts
    523
    Current Local Time
    09:31 PM
    Quote Originally Posted by Carchee View Post
    Chris - yes but aren't sheet filters controlled sheet by sheet, in other words I would have to create that filter for each sheet? You cannot apply a view template to sheet views.
    I'm not saying apply a filter to the sheet, I'm saying apply a filter in the view template for the sheet view which is sort of what Aaron was getting at too. It's typically a good idea to have separate sheet views and working views for just this reason. There may be certain elements or categories that you want to see for layout and coordination purposes, but you don't want to see them printed. With this workflow the dummy fixtures always stay visible in the working views where you can modify them as needed, and they always stay hidden in the sheet views where you print. It is an alternate solution to trying to find a way to globally toggle them on and off.

Page 1 of 2 12 LastLast

Similar Threads

  1. add shared parameter in family and/or project
    By Ning Zhou in forum Architecture and General Revit Questions
    Replies: 4
    Last Post: December 30th, 2015, 08:17 PM
  2. Could i change family parameter to shared parameter?
    By dedo in forum Structure - General Questions
    Replies: 1
    Last Post: August 19th, 2014, 01:11 PM
  3. Is this possible to have a family parameter tied to phase control?
    By mhug9 in forum Architecture and General Revit Questions
    Replies: 2
    Last Post: May 24th, 2013, 07:20 AM
  4. Family Shared Parameter "Group Parameter Under" in a Project
    By Aretap in forum Architecture and General Revit Questions
    Replies: 7
    Last Post: August 10th, 2012, 10:18 PM
  5. Convert Project Parameter to Shared Parameter
    By Rustle in forum Architecture and General Revit Questions
    Replies: 5
    Last Post: January 5th, 2011, 08:35 AM

Tags for this Thread

Posting Permissions

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