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: 

If statment for name Type visablity

5 ANTWORTEN 5
Antworten
Nachricht 1 von 6
Anonymous
430 Aufrufe, 5 Antworten

If statment for name Type visablity

Hi I like to show diffrent door blandes depending on there name type. 

I have following name Types

 

8x21 stable

9x21 stable

10x21 stable

8x21 composit

9x21 composit

10x21 compssit

8x21 Easy

9x21 Easy

10x21 Easy

 

so there are 3 diffrent door blades stable, composit and Easy which visabliy should be show 

 

I tried to write the following if statment in the yes/no paramenter for the door blade

=if(Type=8x21 stable, 1<2,2<1)

But I get the errow that it is not a valid paramenter.

 

I also tried creating a text paramenter called styles were i write stable. But i get the same result that it is not a valid paramenter.

 

I used the following youtube clip as guid but i dont want  the width I want the door balde style but width seams to be the only paramenter working in for the statment

https://www.youtube.com/watch?v=hGmAtQjqhFc

 

5 ANTWORTEN 5
Nachricht 2 von 6
Ilic.Andrej
als Antwort auf: Anonymous

You created 9 family types?

 

8x21 stable

9x21 stable

10x21 stable

8x21 composit

9x21 composit

10x21 compssit

8x21 Easy

9x21 Easy

10x21 Easy

 

??

 

You don't need any if statement. Just check or uncheck "door blade" within every type.



Andrej Ilić

phonetical: ændreɪ ilich
MSc Arch

Autodesk Expert Elite Alumni

Nachricht 3 von 6
ToanDN
als Antwort auf: Anonymous

You cannot use a Text parameter to drive a formula.  Use a number type parameter and assign a number for each type.  For example:

 

paramater = ID

 

8x21 stable = 10

9x21 stable = 11

10x21 stable = 12

8x21 composit = 20

9x21 composit = 21

10x21 compssit = 22

8x21 Easy = 30

9x21 Easy = 31

10x21 Easy = 31

 

Then your formula for the 8x21 door blade Yes/No box:  ID=10 (no need for if and 1<2, 1>2).  And so on for other yes/No boxes.

 

 

Actually, do as @Ilic.Andrej suggested, make the Yes/No as Type parameters and check them for each family type.

 

 

Alternatively, if the Door Blades are nested family, you can use a Family Type parameter to assign them to each Type, without the need for any Yes/No boxes.

 

Read about Family Type parameter here:

 

https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2014/EN...

 

 

Nachricht 4 von 6
Anonymous
als Antwort auf: ToanDN

The thing is when i tick or untick box in familiy but then load it into the project all the boxes are ticked. no matter how i try to save it How should i fix that?

Nachricht 5 von 6
ToanDN
als Antwort auf: Anonymous

If you choose to use tick boxes then set them to Type parameter and tick/untick them properly for each Family type in the family.  When load them in project, choose override parameters and the tick/untick states are reset to follow the family's.

 

Again, using Family type parameters is a better approach when you have more than a few options and have to assign a specific option to a specific type.

Nachricht 6 von 6
RobDraw
als Antwort auf: Anonymous


@Anonymouswrote:

The thing is when i tick or untick box in familiy but then load it into the project all the boxes are ticked. no matter how i try to save it How should i fix that?


Are the boxes ticked in the family?

 

Are you trying to overwrite a family that exists in the project already?


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.

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