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: 

Instance Integer parameter for Family

6 ANTWORTEN 6
GELÖST
Antworten
Nachricht 1 von 7
vroofvbsc
765 Aufrufe, 6 Antworten

Instance Integer parameter for Family

 So I made an instance family type parameter called "Faucet Type" as an integer type. The idea is the user will put the number to select the faucet. So if they put "1" they should get Standard- Faucet - Kohler, if they put "2" they will get Upgrade - Faucet - Grohe and "3" being the custom one. My question is how would the formula look for that to work in the "Standard - Faucet - Kohler" one and the other 2 types? 

6 ANTWORTEN 6
Nachricht 2 von 7
syman2000
als Antwort auf: vroofvbsc

I would create a yes and no parameter with check box control. Once you have that setup, you can apply the formula

 

syman2000_0-1695361714805.png

 

Check out my Revit youtube channel - https://www.youtube.com/user/scourdx
Nachricht 3 von 7
MetalFingerz
als Antwort auf: syman2000

You could optimze this furthermore by avoiding the if condition :

Faucet Type = <Integer>

should be enough a formula for a boolean parameter.

Nachricht 4 von 7
Alfredo_Medina
als Antwort auf: syman2000

Faucet Type = 0

Faucet Type = 1

Faucet Type = 2

...and so on..

If conditions in Yes/No parameters do not need to be in this format: If (Faucet Type = 0, Yes, No).  Nor in this other format: If (Faucet Type = 0, 1 < 2, 2 < 1)

No, simply... Faucet Type = 0 

If the value of Faucet Type is 0, Revit sets that parameter to True, otherwise it is False. 


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
Nachricht 5 von 7
vroofvbsc
als Antwort auf: vroofvbsc

I tried to do the same thing for the Family type parameters above.  I need parameter "Faucet Type A" at the top to turn on when when Faucet Type = 1 is selected. The same for the other two. "Faucet Type = 2" then I need to get the Faucet Type B family parameter switched on.  Thanks for help 

Nachricht 6 von 7
Alfredo_Medina
als Antwort auf: vroofvbsc

To drive Family Type parameters with formulas, it is a little bit more involved. You need one family type parameter for each option plus one more family type parameter for the formula. 

For example:

"Type Bronze" is family type parameter = "Bronze"

"Type Silver"  is a family type parameter = "Silver"

"Type of Metal" is another family type parameter = (enter formula here)

 

I have a video in Youtube that has an example of this, if you want to see more: https://youtu.be/_8Md-Vrw8PU?si=RBjNQ9wcTKv4qnHY


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
Nachricht 7 von 7
vroofvbsc
als Antwort auf: Alfredo_Medina

Great video! Thank you, it worked

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