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

Results 1 to 7 of 7
Like Tree1Likes
  • 1 Post By Bogey1977

Thread: Family error - how can I get around it

  1. #1
    Junior Member Bogey1977's Avatar
    Join Date
    July 12, 2018
    Location
    Nederland
    Posts
    29
    Current Local Time
    04:02 AM

    Family error - how can I get around it

    Hi all,

    I am building a family for flangs.
    In the family there are 5 flangs (4, 8, 12, 16 and 20 holes). The bigger the flang the more holes.
    Depending on a parameter from the LookupTable the family knows which flang has to be visible and which four has to be invisible.
    The first 2 flangs (4 and 8 holes) went perfect.

    BUT now I am busy with the 12 holes and stumble uppon an issue.
    The small flangs with 4 holes in it, can't hold 12 holes inside (holes will overlap -> error).
    Those flangs who gives the error are not show (they are invisible) but despite that they ar being draw.

    Is there a way to handle this?
    I thought about making the holes very small, but the size of holes come from LookupTable, so I can't change that parameter with a formula.

    The one sollution I can think of, is to add more parameters to the lookuptable, for each flang its own hole size and make the sizes for the other 4 holes very small... I'm quite sure this wil work, but am curious to do this in a different and better way.
    Last edited by Munkholm; September 11th, 2018 at 09:00 AM. Reason: text formatting

  2. #2
    Senior Member Andres Franco's Avatar
    Join Date
    June 21, 2012
    Location
    Tours, France
    Posts
    937
    Current Local Time
    05:02 AM
    Hi Bogey1977, maybe is more easy for all people here if you post some images of the family and screen shots of the error, and if you are agree to share the family with us I'm pretty sure that one of the genius here can help you more easy!! regards

  3. #3
    Junior Member Bogey1977's Avatar
    Join Date
    July 12, 2018
    Location
    Nederland
    Posts
    29
    Current Local Time
    04:02 AM
    Been busy with this one, am a little further, hope I can make myself clear. Screenshots I guess don't help in here.

    1.) I have 5 different families (flange with 4 holes, 8 holes, 12 holes, 16 holes and 20 holes) the bigger the size the more holes.
    2.) I have 1 parent family with the 5 families from point 1 nested in it.3..) I made a "Family Type" parameter inside the parent.
    2.) I made 5 types inside the parent family.
    3.) For each type I set the "Family Type" parameter to the correct nested family.

    I think above is right and clear to me. But then
    For example:
    size 1, 2, 3 and 4 need type 1
    size 4, 6 and 7 need type 2
    size 8 and 9 need type 3
    size 10, 11 and 12 need type 4
    size 13 needs type 5.
    When parent loaded in project, where do I tell the parent that for size 8 it needs type 3.
    Last edited by Munkholm; September 11th, 2018 at 09:01 AM. Reason: text formatting

  4. #4
    Forum Addict elton williams's Avatar
    Join Date
    December 7, 2010
    Location
    Gold Coast
    Posts
    2,602
    Current Local Time
    01:02 PM
    Quote Originally Posted by Bogey1977 View Post
    When parent loaded in project, where do I tell the parent that for size 8 it needs type 3.
    if it's an instance, the properties palette. If it's type then type dialogue. Unless I'm missing something?

    assuming you applied the parameter to the nested families and didn't just create the parameter on its own in the family types dialogue?

  5. #5
    Forum Addict josephpeel's Avatar
    Join Date
    May 3, 2012
    Posts
    1,396
    Current Local Time
    05:02 AM
    Why not just use a radial array for the holes/bolts?
    Set the number and spacing of the holes based on the flange diameter, using formulas.
    That way you can make one family for any size situation without messing about with Family Type parameters and lookup tables.

    For things that vary in a linear way, use a formula with an 'a=bX + c' (Straight line) relationship. Then you can set b and c to fit any data you have. Like flange outer radius = pipe radius x b + min flange c

    For things that vary with discrete steps, use if statements. If(a>10, 20 holes, if(a>5, 10 holes.... etc.
    Writing it out in notepad with tabs and multiple lines is easier. When you paste in to revit the spaces/lines will be removed.

    Making stuff fully parametric means you only have to manage lots of Types, not lots of separate Families, which is a lot easier.
    Last edited by josephpeel; September 11th, 2018 at 09:56 AM.

  6. #6
    Junior Member Bogey1977's Avatar
    Join Date
    July 12, 2018
    Location
    Nederland
    Posts
    29
    Current Local Time
    04:02 AM
    Quote Originally Posted by josephpeel View Post
    Why not just use a radial array for the holes/bolts?
    Set the number and spacing of the holes based on the flange diameter, using formulas.
    That way you can make one family for any size situation without messing about with Family Type parameters and lookup tables.
    This is how I was starting whit the family, untill I got the advise to try to avoid using array's and voids, cause array's and void's make the model slower and makes it vulnerable for errors.
    josephpeel likes this.

  7. #7
    Junior Member Bogey1977's Avatar
    Join Date
    July 12, 2018
    Location
    Nederland
    Posts
    29
    Current Local Time
    04:02 AM
    I added my familiy's, hope it makes it more clear.

    There has to be looked to the value of NLRS_M_c01_diameter, when value is:
    - below 600, then fam 20 holes has to been show;
    - below 500, then fam 16 holes has to been show;
    - below 355, then fam 12 holes has to been show;
    - below 280, then fam 8 holes has to been show;
    - below 90, then fam 4 holes has to been show;
    Attached Files Attached Files

Similar Threads

  1. ERROR - annotation family
    By cganiere in forum Architecture - Family Creation
    Replies: 3
    Last Post: December 11th, 2015, 07:44 PM
  2. Loading Family Error?
    By nick_h in forum MEP - General
    Replies: 16
    Last Post: March 20th, 2015, 01:50 PM
  3. Family type error
    By Hoekveen in forum MEP - Family Creation
    Replies: 2
    Last Post: October 20th, 2014, 01:06 PM
  4. shared family and <family type.....> parameter, when loaded error
    By Bross in forum Structure - Family Creation
    Replies: 1
    Last Post: November 25th, 2013, 12:56 PM
  5. Family placing error
    By bangobeat in forum Architecture - Family Creation
    Replies: 6
    Last Post: July 25th, 2011, 09:42 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
  •