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: 

Multiple visibility parameters not(.... and....)

11 ANTWORTEN 11
Antworten
Nachricht 1 von 12
sdendekker
3073 Aufrufe, 11 Antworten

Multiple visibility parameters not(.... and....)

Hi Guys,

 

A question again; 

I have a family in which I want to show/hide a nested family in 3 different positions. For example;

 

Position 1

Position 2

Position 3

 

If Position 1 is visible (checked) then Position 2 and Position 3 should be not

If Position 2 is visible (checked) then Position 1 and Position 3 should be not

If Position 3 is visible (checked) then Position 1 and Position 2 should be not

 

Which formula do I have to use. I get it with 2 positions, for example;

 

If position 1 is visible, and position 2 should be not   = not(position 2) 

If position 2 is visible, and position 1 should be not   = not(Position 1)

 

But how do I get it work with 3 positions?

 

Thanks for your help!

11 ANTWORTEN 11
Nachricht 2 von 12
Avaris.
als Antwort auf: sdendekker

Nachricht 3 von 12
Anonymous
als Antwort auf: Avaris.

I beg your pardon, but what formula would I have to put in Position  so that it is not greater than 3 in this case? Because if it is greater than 3 the parameter will not show any of them. How to lock so that it is not greater than 3?
Capturar.PNG

Thanks in advance for your diligence

Nachricht 4 von 12
TripleM-Dev.net
als Antwort auf: Anonymous

Hi,

 

Pick one that should be the default, for example:

Position3 is the default:

Position3 = Position > 2

Position2 is the default:

Position2 = not(or(position1, position3)) 

 

Like this any other value than 1 or 2 will turn 3 on.

Additionally I always give the "Position" parameter a tooltip giving user a explanation of the values and the default value.

 

- Michel

Nachricht 5 von 12
KotairaKeila
als Antwort auf: TripleM-Dev.net

Got it! I tested and it worked!! Thank you Michel! You are the man!! :grinsendes_Gesicht_mit_lächelnden_Augen:

Capturar.PNG

Regards,

Kotaira.

Nachricht 6 von 12
TripleM-Dev.net
als Antwort auf: KotairaKeila

Hi,

 

Glad it helped.

In you're case you don't need to add the inequality sign for all parameters, just for the parameter that needs to be the default one.

 

Looks like you want Position3 as default; 

Set the formulas like in the sample below, it's a bit clearer:

FamilyFormulaEqual.PNG

 

 

 

 

 

 

 

 

 

 

- Michel

Nachricht 7 von 12
akesh
als Antwort auf: Avaris.

Hi Guys

 

This is as close to the solution to my problem that I have found.  However cannot get this to work...

I am creating a Room Tag.  In this Room Tag I have created multiple Room names with different widths and have assigned them to Instance visibility parameters.  I have created an instance integer parameter as per the solutions here.

My intention is to have one Room Tag, and control the different Room Name Label width options by adjusting the integer which will display that assigned Room Label width ONLY, and the rest of the Room Name labels shall not display.

 

From the integer formulation explained here I had thought I would be a solid solution for the visibility control via this integer method for my Room Tag's Room Name label.  Unfortunately this does not seem to work with the Room Tag.

 

Any suggestions/solutions guys?

Akesh Jugmohan
Senior Architectural Technologist
BIM Manager
Nachricht 8 von 12
TripleM-Dev.net
als Antwort auf: akesh

Hi,

 

Instance parameters don't work for Tags (unfortunately),

Use the "integer-select" method as type and create types in the project (or already create them in the Family).

 

- Michel

Nachricht 9 von 12
akesh
als Antwort auf: TripleM-Dev.net

Hi Michel

 

Thanks for the advise.

Will give that solution a try now.

I wish Revit allowed the ability to adjust the widths of tags to suit in the view, so this route could be avoided.

Akesh Jugmohan
Senior Architectural Technologist
BIM Manager
Nachricht 10 von 12
TripleM-Dev.net
als Antwort auf: akesh

Hi,

 

Yes and No.

Mostly we place a large amount of tag's, maintaining the instance settings for those could be a nightmare.

Selecting by Type and replacing by another type is for most tags easier.

But, it would be nice if it could for those not-often used flexible tags, sure.

 

Good luck.

- Michel

Nachricht 11 von 12
RizielVillagonzalo
als Antwort auf: sdendekker

RizielVillagonzalo_0-1669346322785.png

 

Just passing by. Try this... Just change the position number to 1, 2 or 3.

Nachricht 12 von 12
ToanDN
als Antwort auf: RizielVillagonzalo


@RizielVillagonzalo wrote:

RizielVillagonzalo_0-1669346322785.png

 

Just passing by. Try this... Just change the position number to 1, 2 or 3.


Simpler:

Position1 = Position = 1

Position2 = Position = 2

and so on.

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