Donate Now Goal amount for this year: 2500 USD, Received: 2174 USD (87%)

Results 1 to 10 of 10
Like Tree2Likes
  • 1 Post By cellophane
  • 1 Post By laBaumba

Thread: Family Type Parameter Help

  1. #1
    New Member
    Join Date
    August 11, 2015
    Posts
    4
    Current Local Time
    10:59 PM

    Family Type Parameter Help

    So, I am attempting to build a condensing unit that will have 4 different length legs.
    I built the legs in individually families with each leg length as a type. Currently the unit is offset the same distance as the length of the legs; and they adjust in sync with each other as necessary. This is working by typing in the length you want.
    My issue is how do I restrict the leg height to only the types that I created? I do not necessarily want to be able to build say a 13” leg when all I need is a 6, 12, 24 and 36 inch leg length.

    I thought using a family type parameter would work, however the types are not changing in the project environment as many “you tube” videos suggested they would.

    The second part of this is if I am able to create the types using the family type parameter, how do I ensure the offset of the unit will match the length of the leg?

    I am trying to avoid using visibility parameters.

    Currently the two parameters I am working with are “H of leg” and “Leg Type<Generic Models>”
    Any thoughts or suggestions would be greatly appreciated.
    Attached is a 2016 model.
    Attached Files Attached Files
    Last edited by laBaumba; October 14th, 2015 at 01:33 PM.

  2. #2
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,190
    Current Local Time
    12:59 AM
    To use Types the nested family needs to be shared.

    The other option is what will probably end up becoming a long formula: http://www.revitforum.org/tutorials-...day-usage.html

    if(LegLength<6",6",if(LegLength<12",12",if(LegLeng th<24",24", etc (I haven't tried that - you may need some Not or And statements.)

  3. #3
    Forum Co-Founder Alfredo Medina's Avatar
    Join Date
    December 7, 2010
    Location
    Orlando, FL, USA
    Posts
    3,141
    Current Local Time
    12:59 AM
    Quote Originally Posted by cellophane View Post
    To use Types the nested family needs to be shared. ...
    No, is not necessary that the nested families are shared.

  4. #4
    Forum Co-Founder Alfredo Medina's Avatar
    Join Date
    December 7, 2010
    Location
    Orlando, FL, USA
    Posts
    3,141
    Current Local Time
    12:59 AM
    Quote Originally Posted by cellophane View Post
    ...The other option is what will probably end up becoming a long formula:...

    if(LegLength<6",6",if(LegLength<12",12",if(LegLeng th<24",24", etc (I haven't tried that - you may need some Not or And statements.)
    Not necessary, either. Simply tie the instance Height parameter of the nested leg to a local type Height parameter. If the legs have different features, use a type parameter with a label to control the type of leg. Move the box up as per the same Height parameter. See illustration and attached sample family (2016 format).
    Attached Thumbnails Attached Thumbnails Family Type Parameter Help-2015-10-13_22-26-12.jpg  
    Attached Files Attached Files

  5. #5
    New Member
    Join Date
    August 11, 2015
    Posts
    4
    Current Local Time
    10:59 PM

    Thanks

    Hey Thanks for the input, I will let you know how it works out.

  6. #6
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,190
    Current Local Time
    12:59 AM
    Quote Originally Posted by cellophane View Post
    To use Types the nested family needs to be shared.
    Quote Originally Posted by Alfredo Medina View Post
    No, is not necessary that the nested families are shared.
    fail on my part!

    Quote Originally Posted by Alfredo Medina View Post
    Not necessary, either. Simply tie the instance Height parameter of the nested leg to a local type Height parameter. If the legs have different features, use a type parameter with a label to control the type of leg. Move the box up as per the same Height parameter. See illustration and attached sample family (2016 format).
    I was using the formula to restrict the sizes available per the OP's question:

    Quote Originally Posted by laBaumba View Post
    My issue is how do I restrict the leg height to only the types that I created? I do not necessarily want to be able to build say a 13” leg when all I need is a 6, 12, 24 and 36 inch leg length.
    That could be done by only have predefined types available but there isn't anything stopping someone from creating a leg that is 13" that way.

    tzframpton likes this.

  7. #7
    New Member
    Join Date
    August 11, 2015
    Posts
    4
    Current Local Time
    10:59 PM
    So, I have the predefined types. However, they are not appearing when chosen. I looked at Medina's family and am unsure how his is different than what I currently have. When using his family type parameter, the legs change shape. Mine are currently not different shapes, but they are different heights. However, when I change the type, nothing happens. So, I assume there is a disconnect somewhere, but not sure where... the hunt continues.

  8. #8
    Junior Member
    Join Date
    May 6, 2014
    Location
    Dallas, Texas
    Posts
    19
    Current Local Time
    11:59 PM
    Perhaps I'm misunderstanding the issue, but it seems that the types could simply be achieved by the following steps:

    -Draw reference plane at top-of-legs/bottom-of-unit.
    -Place dimension between Ref. Level and newly created reference plane.
    -Apply "H of leg" parameter to this dimension (make sure it's a type parameter).
    -Set leg extrusion equal to "H of leg" in Properties window.
    -Similarly, lock bottom of unit to reference plane.
    -Create four different family types: one for each "H of leg" value.

  9. #9
    Forum Co-Founder Alfredo Medina's Avatar
    Join Date
    December 7, 2010
    Location
    Orlando, FL, USA
    Posts
    3,141
    Current Local Time
    12:59 AM
    Quote Originally Posted by laBaumba View Post
    ...My issue is how do I restrict the leg height to only the types that I created? I do not necessarily want to be able to build say a 13” leg when all I need is a 6, 12, 24 and 36 inch leg length.
    ....
    Simply create the types. There is no need to "prevent people from creating a 13" type". Create four types, one for 6, one for 12, one for 24, and for 36. Use the family that I posted as example. Create types there, and see how everything works.

  10. #10
    New Member
    Join Date
    August 11, 2015
    Posts
    4
    Current Local Time
    10:59 PM
    Got It! Thanks for the ideas and the direction GIGI. There was a label not applied to the family in the properties window.
    Gigi likes this.

Similar Threads

  1. shared family and <family type.....> parameter, when loaded error
    By Bross in forum Structure - Family Creation
    Replies: 1
    Last Post: November 25th, 2013, 11:56 AM
  2. Type Catalog to family parameter
    By alex60 in forum Architecture and General Revit Questions
    Replies: 5
    Last Post: June 11th, 2013, 02:48 PM
  3. select by parameter? curtain wall panels' materials by parameter, by type or family?
    By oompa_l in forum Architecture and General Revit Questions
    Replies: 1
    Last Post: January 24th, 2013, 02:20 PM
  4. Can you use a 'Family Tpe' parameter in a type catalogue?
    By brett05 in forum Architecture - Family Creation
    Replies: 2
    Last Post: September 6th, 2011, 06:45 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
  •