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 formula - family type to text?

3 ANTWORTEN 3
GELÖST
Antworten
Nachricht 1 von 4
trungAJDRF
299 Aufrufe, 3 Antworten

Revit formula - family type to text?

Hi, I'm still learning revit formula and somewhat trying to understand the limitations of it.

I have a parameter in a door family that allows me to switch the panels using a nested family and a family type to control it. I added it to a schedule to change the panel but I don't want it to show up in the family name.

Is there a way to add a formula type to a text parameter? I don't believe so but I thought I'd try.

I would like the "Door | Panel" P1 I want "Door | Panel Type" to automatically fill out as well so I don't have to do this twice.

My other option was to just remove the text parameter completely but I can't remove the family name in the schedule as it doesn't just show the type. TIA

 

trungAJDRF_2-1708090432362.png

 

trungAJDRF_0-1708090309118.png

 

 

3 ANTWORTEN 3
Nachricht 2 von 4
Mike.FORM
als Antwort auf: trungAJDRF

Family Type parameters are a bit difficult to check in Revit.

You can only check if one family type parameter has the same or a different value as a second family type parameter.

So what you need to do in your door family is to have a helper Family Type parameter for each of the different panel types. Then in your Panel Type text parameter you would have nested if statements checking what helper parameters your main family type parameter matches.

Here is a test setup I did quickly with a detail item family.

MikeFORM_1-1708092354408.png

 

Nachricht 3 von 4
trungAJDRF
als Antwort auf: Mike.FORM

This works, thanks! I never would have solved this on my own.

Nachricht 4 von 4
Mike.FORM
als Antwort auf: trungAJDRF

The one other thing I will do is make sure the helper parameters are Type Based and then add a Text parameter telling users to make sure the name of the name of the parameter matches the family selected.

This just reduces the chance that someone goes in a changes the helper parameters which could mess things up.

MikeFORM_0-1708106145744.png

 

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