Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Revit RFA - Show/Hide nested family question

10 ANTWORTEN 10
GELÖST
Antworten
Nachricht 1 von 11
roger.hick
1128 Aufrufe, 10 Antworten

Revit RFA - Show/Hide nested family question

Hello - I am building a parametric family for an office desk system.  

 

The family has types defined by their dimension (i.e. 1600 x 800 desk or 1800 x 800 desk and so on).

 

Each desk size has an option to have a cable tray fitted - but the cable trays cannot be parametric due to the manufacturer's design, the trays are in two sizes with different cut-outs and no common features for a parametric work-around (a 1600 desk will have 1 long tray and 1 short tray - an 1800 desk with have 2 long trays and so on).

 

I have built nested families for each cable tray combination and I can control the cable tray visibility by yes/no parameters but it is possible to select the wrong tray option for a desk size.  

 

Is it possible to make a parameter so that a tray family can only be available for its correct type?

 

Many thanks

 

Revit_Tray_Q.jpg

10 ANTWORTEN 10
Nachricht 2 von 11
Sahay_R
als Antwort auf: roger.hick

Create Types, with the correct Tray showing. No going wrong there!

Untitled.png


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 3 von 11
ToanDN
als Antwort auf: roger.hick

@roger.hick

 

Aside from using visibility parameters to turn on/off certain keyboards for certain desk sizes, you can use Family Type parameters.  See attached.  Hit back if you need explanations.

 

Capture2.PNGCapture3.PNGCapture.PNGCapture1.PNG

Nachricht 4 von 11
barthbradley
als Antwort auf: roger.hick

Why not add a conditional formula to the visibility parameter? Something along the lines of: if(desk=1600,1<2,1>2).

 

Also, I don’t see why your cable tray design cannot be parameterized. I looks doable from your screenshot. If you want to post the two cable tray families, I can show you. 

Nachricht 5 von 11
Anonymous
als Antwort auf: barthbradley

Building on @barthbradley, you can tie visibility of each nested family to a Yes/No parameter based on desk length. That way the appropriately sized cable tray will automatically show depending on desk length.

 

I personally prefer using a Family Type parameter as @ToanDN mentioned, but then you still have to assign each family per type because you can't mix parameter types within a formula.

 

parameter visibility.JPG

Nachricht 6 von 11
roger.hick
als Antwort auf: barthbradley

Thanks all - I appreciate the help.

 

barthbradley - The trays are actually different.  I think your solution is easiest for me to work with.  If I am honest I don't know much about logical arguments in formulas - what does the 1<2/1>2 do? 

 

ToanDN - In you example do you set the label in the cable tray family at family level of add a label to the nested family at the desk family level?

Nachricht 7 von 11
barthbradley
als Antwort auf: roger.hick

1<2 will force a check

1>2 will force an uncheck

 

See this link for additional info on formulas:

 

https://www.revitforum.org/tutorials-tips-tricks/1046-revit-formulas-everyday-usage.html 

Nachricht 8 von 11
roger.hick
als Antwort auf: barthbradley

Thank you - 

Nachricht 9 von 11
ToanDN
als Antwort auf: roger.hick

The labels are created under the desk family. Simply select tray 1 and add label from the option 3, then create kb1 label. Repeat for kb2. In fact, you only need a label for the tray that changes, so, only need kb2.

Nachricht 10 von 11
ToanDN
als Antwort auf: roger.hick

@Anonymous

if(desk=1600,1<2,1>2)

You no longer need if, 1<2, 1>2. Formula: (desk = 1600) will yield the same result.
Nachricht 11 von 11
roger.hick
als Antwort auf: ToanDN

Thanks all - problem solved

 

 

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report