Results 1 to 5 of 5

Thread: Family parameter formulas

  1. #1
    Member
    Join Date
    2009-01
    Posts
    21
    Login to Give a bone
    0

    Default Family parameter formulas

    I'm trying to remember the formulas for family parameters and i figure this is the best place for it.

    I've got a sliding pocket door, that i've been asked to make parametric in terms of how much it's slid open in graphics. I have one parameter called "panel width" and i'd like the "open distance" to error or be set to the "panel width" as a maximum. So if the panels are 3' wide and someone puts the "open distance" at 3'6" it would reset to the panel width or just give them an error. i'm fine with either outcome, i just don't want it to accept something bigger then whatever they set as the "panel width"

    thanks ahead of time.

  2. #2
    Certifiable AUGI Addict twiceroadsfool's Avatar
    Join Date
    2006-01
    Location
    ---
    Posts
    4,516
    Login to Give a bone
    0

    Default Re: Family parameter formulas

    If (open distance>panel width, panel width, open distance)

    That will tell it "If they put in something greater than Panel Width, just use panel width instead. Otherwise use the value they gave you."

    But, i would make the panel symbol in plan USE Panel Width, and then CONSTRAIN it with another dimension. That way when the doors change size, the panels and the panel symbology are the same. (Maybe thats what youre doing?) I suppose in either case you would want the formula for the opening amount...

  3. #3
    All AUGI, all the time
    Join Date
    2006-09
    Location
    The Kingdom of Denmark
    Posts
    560
    Login to Give a bone
    0

    Default Re: Family parameter formulas

    I´ve done something similar once, and used an "Opening Percentage" parameter to control it...

    Opening Width = User Input
    Opening Percentage = User Input (1-100%)
    Opening Drive = (Opening Width / 100) * Opening Percentage

    Hmm... on a second thought... I might need to check that none og the dumba**´es have entered more than 100%
    Last edited by Munkholm; 2011-01-10 at 11:53 AM.

  4. #4
    100 Club RobG's Avatar
    Join Date
    2005-12
    Location
    Spokane, WA
    Posts
    164
    Login to Give a bone
    0

    Default Re: Family parameter formulas

    Quote Originally Posted by twiceroadsfool View Post
    If (open distance>panel width, panel width, open distance)

    That will tell it "If they put in something greater than Panel Width, just use panel width instead. Otherwise use the value they gave you."

    But, i would make the panel symbol in plan USE Panel Width, and then CONSTRAIN it with another dimension. That way when the doors change size, the panels and the panel symbology are the same. (Maybe thats what youre doing?) I suppose in either case you would want the formula for the opening amount...
    I just tried this method myself and it's giving me an error of "there is a circular chain of references among the formulas"

  5. #5
    Certifiable AUGI Addict twiceroadsfool's Avatar
    Join Date
    2006-01
    Location
    ---
    Posts
    4,516
    Login to Give a bone
    0

    Default Re: Family parameter formulas

    Which parameter did you put the formula in?

    There will be:

    Panel Width (user input)
    Opening Width Input (user input)
    Opening Width Actual (if(Opening Width Input>Panel Width, Panel Width, Opening Width Input)

    Ten OWA has to be put as the constraint for the door opening.

    Circ. chain sounds like you used one of the parameters, in the parameter, lol....

Similar Threads

  1. 2015: Parameter formulas
    By bharlow1986651702 in forum Revit Architecture - Families
    Replies: 2
    Last Post: 2015-05-18, 12:17 PM
  2. 2013: Link family parameter formulas to project parameters
    By bhollon in forum Revit MEP - General
    Replies: 2
    Last Post: 2014-04-25, 05:04 PM
  3. Unique Parameter Formulas per Type?
    By mike.dixon in forum Revit MEP - Families
    Replies: 3
    Last Post: 2009-12-14, 11:54 PM
  4. Parameter Formulas
    By techsupport.161645 in forum Revit Architecture - Families
    Replies: 1
    Last Post: 2009-08-27, 07:18 PM
  5. Formulas (Text to Family Parameter)
    By mcox.157847 in forum Revit Architecture - Families
    Replies: 7
    Last Post: 2009-01-22, 09:16 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
  •