Use Project Parameter (Yes/No) to control visibility within Tag.

Use Project Parameter (Yes/No) to control visibility within Tag.

paul
Contributor Contributor
1,827 Views
5 Replies
Message 1 of 6

Use Project Parameter (Yes/No) to control visibility within Tag.

paul
Contributor
Contributor

Hey Revit Gurus,

 

I've been playing with Project Parameters and Tags with some new success and of course some hangups.

 

Specifically I am adding some information to individual wall elements via Project Parameters, then using Wall Tags to display information annotatively.

 

I was able to get Text and Number Shared Parameters applied to wall elements (Project Parameters), and then I was able to taq these values via Labels inside of a Tag Family. 

 

Now I want to take a simple Yes/No shared parameter applied to the walls (Project Parameters), and use that as a visibility parameter in the tag. 

 

Is there a way to Refer to the Shared Project Parameter of the tagged element as a parameter in the Tag Family?

 

I tried setting the Visibility parameter of the text string "FTAO" to the 'FTAO' shared parameter. But it seems like I need to get the shared parameter directly into TAG family. Perhaps there is a way to set a visibility parameter in the family and then set it equal to the shared project parameter but I cant figure out how that would look.

 

rob_0-1646419070081.png

rob_1-1646419136428.png

 

You can see that I was able to add and tag two other Shared Project Parameters from the wall into the tag label directly, so I feel that I should be able to get the Yes/No parameter information into the tag too its just not working intuitively.

 

 

 

 

 

 

 

 

0 Likes
Accepted solutions (1)
1,828 Views
5 Replies
Replies (5)
Message 2 of 6

ToanDN
Consultant
Consultant
Accepted solution

- Do not add FTAO shared parameter to your tag family via Family parameters.  If you already did, delete it.

- Create a label in the tag family, add FTAO shared parameter to the list on the left

- Add a calculated value parameter to the label, use this formula: if (FTAO, "FTAO", "")

Message 3 of 6

paul
Contributor
Contributor
How did I know @ToanDN would help me out here ?

Thanks this works excellently.
Message 4 of 6

mhiserZFHXS
Advisor
Advisor

So you just want the FTAO to toggle on and off with the checkbox?

 

I think the best solution will be to add an additional text parameter to the walls, set its equation to:

if(FTAO, "FTAO", " ")- Quotation marks required, and space between the second set.

Then use that parameter to control an additional label in the tag.

0 Likes
Message 5 of 6

paul
Contributor
Contributor

I didn't know you could add computed parameters like that to a system family.  How would you start that process just curious? @ToanDN had a solution that works exactly as I need.

0 Likes
Message 6 of 6

mhiserZFHXS
Advisor
Advisor

You're right. My bad. Was completely negating the system family issue!

0 Likes