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!
I would advice to take another route:
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?
Thanks in advance for your diligence
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
Got it! I tested and it worked!! Thank you Michel! You are the man!! 😄
Regards,
Kotaira.
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:
- Michel
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?
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
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.
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
Just passing by. Try this... Just change the position number to 1, 2 or 3.
@RizielVillagonzalo wrote:
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.
Can't find what you're looking for? Ask the community or share your knowledge.