I have a family, with three nested families: A, B and C.
Either A or B can be picked through a "Family Type" parameter. Family C is locked to a reference plane, which is defined by a dimensional parameter called "Offset." Is there a way to have the value of "Offset" change based on whether A or B is loaded? Not sure how to use the "Family Type" dorp-down parameter in/with a formula to do so.
Thanks in advance.
Solved! Go to Solution.
Solved by CoreyDaun. Go to Solution.
Solved by CoreyDaun. Go to Solution.
Solved by CoreyDaun. Go to Solution.
You will have to create an additional, dedicated <Family Type> Parameter for each possible choice (in this case, just 'A' and 'B'). These parameters will be used for reference for the "Offset" Parameter's conditional statement since you cannot directly reference a Family Type Parameter.
In the image below, the parameter "Type Selection" is how the user will select the appropriate Family Type. The formula of the parameter "Offset" will check the value of the selected Type against the static values of the parameters "Type A" and "Type B" and return an appropriate result.
Thank you. That worked.
Somewhat of a related questions:
1. A family B with types (B-1, B-2, B-3, etc) is loaded into a another family and unwanted types are purged so that only B-1 is only loaded. When family B is updated and reloaded, is there a way to just reload B-1, so that purge wouldn't have to happen every time it is updated?
2. Is there a way to reverse that family type parameter display order? Or is the reverse alphabetical the default, and the only way which Revit can display them?
MICHAELMULHERN wrote:"1. A family B with types (B-1, B-2, B-3, etc) is loaded into a another family and unwanted types are purged so that only B-1 is only loaded. When family B is updated and reloaded, is there a way to just reload B-1, so that purge wouldn't have to happen every time it is updated?"
Not without the use of a Type Catalog. When a family is loaded in, it will bring all of its Types.
MICHAELMULHERN wrote:"2. Is there a way to reverse that family type parameter display order? Or is the reverse alphabetical the default, and the only way which Revit can display them?"
The Families are listed in the order in which they were loaded in, and (as far as I know) there is no way to change the order without unloading and then reloading all of the Families in the desired order.
Thank you. That's perfect!
Does the catalog need to be updated/exported every time the fmaily updates?
MICHAELMULHERN wrote:"Does the catalog need to be updated/exported every time the fmaily updates?"
No - the Type Catalog need only be changed if you want to alter one or more of the preset parameter values defined within it. If you're just changing the family geometrically, you don't have to do anything with the Type Catalog.
is there a way to do this in reverse? As in, a way to drive a family type parameter with a dimension parameter? I keep getting the "Inconsisten Units" error when i try to set up the if/then formula.
Hello and welcome to the Discussion Groups!
Yes, the Length parameter can drive the Family Type parameter, using the same methodology. However, in my first example in this thread, my parameter is titled "Offset (Length)". The parentheses in the name will produce an error in Revit because it will think "Offset" and "Length" are individual parameters. See example in image below.