Donate Now Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

Results 1 to 4 of 4

Thread: Nested Family with YES/NO Parameter

  1. #1
    Senior Member Andres Franco's Avatar
    Join Date
    June 21, 2012
    Location
    Tours, France
    Posts
    945
    Current Local Time
    07:10 AM

    Nested Family with YES/NO Parameter

    Hi Revit Forum:

    I'm trying to create a window with multiple bodies that can be placed and changed within some parameters (see image below)
    Nested Family with YES/NO Parameter-capture5.jpg


    I mean if I want to have a 2, 3 or 4 bodies window I'm able to do that whit an array parameter but I have found some issues, one of my problems is that the body of the window is a nested window family I'm not able to change the height and width because the parameters are by default named the same way that the host parameters and I cannot change that in the window family parameter dialog, in this case the Window family.
    Nested Family with YES/NO Parameter-capture3.jpg
    Secondly I should add a Mullion if the window has more of 3 bodies, so I created another mullion family that I already have load into the main window family bu I'm not able to create a parameter that gives me the ability to hide the mullion when I choose a 2 or 4 bodies family.

    Nested Family with YES/NO Parameter-capture1.jpg

    I'm adding to this post my window family, the parameters are named in french because I work in france, but I think you can get an idea of I want to do, thank's a lot for your help.
    Attached Files Attached Files

  2. #2
    Member
    Join Date
    May 18, 2011
    Location
    Calgary, AB
    Posts
    390
    Current Local Time
    11:10 PM
    Yes/No for visibility can get pretty ugly, really fast.
    You might have better success going down the route of a <family type> parameter for the frames.

    To solve part of your problem, you'll probably want to learn how to include IF statements so that some window bodies will turn on the mullion but not for the other bodies.

  3. #3
    Member ScubaMan's Avatar
    Join Date
    July 6, 2015
    Posts
    199
    Current Local Time
    10:10 PM
    Hello,

    I did not open your family so any names are just things that made sense in my head.

    [QUOTE=Andres Franco;152876]
    "I'm not able to change the height and width because the parameters are by default named the same way that the host parameters and I cannot change that in the window family parameter dialog, in this case the Window family."

    you should look up nested family's and how to link parameters. I know there are hundreds of forms on this subject.

    This is an image of the Edit Type menu of a nested family. All the parameters a grayed out because I have linked them into a current family by clicking on the highlighted button. You can then link it to a parameter already in the family or to a new parameter that you create in the next window. All the nested family parameters are independent of the current family unless you link them.
    Nested Family with YES/NO Parameter-edit-type.jpg

    [QUOTE=Andres Franco;152876]
    "Secondly I should add a Mullion if the window has more of 3 bodies, so I created another mullion family that I already have load into the main window family bu I'm not able to create a parameter that gives me the ability to hide the mullion when I choose a 2 or 4 bodies family."

    I would question weather this is needed or not. You could simply just check the on/off box when you change the number of bodies. But here is the formula.
    if(or(Number of Bodies = 2, Number of Bodies = 4), 1 < 2, 1 > 2) Inter this with the your names into the formula section of a yes/no parameter.
    "Number of Bodies" is the name I gave it, this would be whatever name you gave the parameter witch determines the number of window frames. Add as many "Number of Bodies = x" as you would like. you many need to change the < and > depending on weather you want it on or off when the number of bodies is equal to the supplied values.


    I would also make a family witch is just a single frame and then nest that into the 2 through how many ever you want. This way you only have to make the frame once. just link the parameters as show above.


    Hope this helps,

  4. #4
    Senior Member Andres Franco's Avatar
    Join Date
    June 21, 2012
    Location
    Tours, France
    Posts
    945
    Current Local Time
    07:10 AM
    Hi Scubaman, thank's a lot I'll, it seems a very good work, I appreciate your time for helping me, I'll just try the solution you proposes, bye
    Last edited by Andres Franco; November 12th, 2015 at 08:11 AM.

Similar Threads

  1. Family type parameter for nested families
    By t1shep in forum Architecture - Family Creation
    Replies: 17
    Last Post: April 3rd, 2018, 12:59 PM
  2. Nested family to cut parent with Y/N parameter
    By byk3bep in forum Architecture and General Revit Questions
    Replies: 6
    Last Post: December 17th, 2014, 04:06 PM
  3. Nested Family Parameter not working in Parent Family
    By makaz22 in forum Architecture - Family Creation
    Replies: 6
    Last Post: April 14th, 2014, 06:13 PM
  4. Nested Family and Material Parameter
    By dzatto in forum Architecture and General Revit Questions
    Replies: 7
    Last Post: September 8th, 2011, 09:30 PM
  5. Visibility parameter and nested family: bug?
    By jbenoit44 in forum Structure - Family Creation
    Replies: 4
    Last Post: August 30th, 2011, 03:23 PM

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
  •