1. Login to Give a bone

## 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"

2. Login to Give a bone

## 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. Login to Give a bone

## 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%

4. Login to Give a bone

## 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...
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. Login to Give a bone

## 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....

#### Posting Permissions

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