I have a shared yes/no parameter that I would like to have associated with a door tag. I've got it to work but the text that appears on the tag - yes / no - is wrong so I would like it changed, so if it's yes it should read "m ABDL" and when it is no it needs to be blank.
Solved! Go to Solution.
Solved by Alfredo_Medina. Go to Solution.
I think I've figured out how it works, I have had to create a shared parameter text, which I put into the door family and write: = if (ABDL, "m ABDL", "").
Now my problem is when my yes no parameter is not checked, then there's a question mark. It seems as if it can not understand that it must be blank.
The text shared parameter must be added to the door family. Did you do that?
It works for me. It does not matter if the blank value is " " or "". (space or no space). I don't get the question mark.
If you are seeing a "?" in the Tag, it means that the Label is not reporting any information. Revit does not like blank Tags, and will therefore show that if there is no information to report, including Text that is either null or just spaces.
Can you please tell me exacly how you made possible to appear a text with a Yes/ No parameter. I have both parameteres shared ( yes/no and text ) and how when I tag to appear a text depending if it is yes or no 🙂 thanks ! :
See the orginial poster's second post. The Yes/No parameter is used in a formula added to the Text parameter, to drive the contents of the Text parameter. For example, given a Yes/No parameter called YesOrNo, set the formuls for the Text parameter to be something like this:
= if (YesOrNo, "TextStringForYes", "TextStringForNo")
where you would substitute the text string you want when the YesOrNo parameter is checked for "TextStringForYes" and the text string you want when the parameter is unchecked for "TextStringForNo".
I think I will give you the exact example I am trying to make. I want to tag all doors that have been demolished and I reuse them. I made a parameter Yes/No if it is Reused or not. But I want to tag only the ones that I select to be reused and write Reused and the other ones empty, no tag.
So I made Shared Parameter text and shared parameter Yes/No. I go in to tag properties, I add both labes(not shure if it is correct) and then I go to Family types where you can insert this formula but here its empty.....I can Add another parameter and so on. I am lost here 🙂 don't know where to write that formula......maybe my mistake is somewhere before all of this....
I hope you understood my problem :)....and hope you understand my english also 😄
Thanks for the answer by the way 🙂
In your case, the Tag would show only the Text parameter (which has a value of "REUSED" if your Yes/No parameter is checked, and " " if the Yes/No parameter is unchecked). These parameters should be set up in your Door families, and the formulas should be entered there. They need to be added to the the Tag family, but associated with Door objects, so that your Door Tag family can reference them in a label, but they will not be available as a parameter of the Tag family.
I manage to do what you said. It makes more sense now :). I manage to show Reused on the tag but it doesnt matter if the Yes/No parameter is checked or not, it always show Reused. Both of them are shared parameters. I inserted the formula but stil nothing. I uploaded a picture so you can see
I cannot see the sared parameter yes no in the properties. I tried to add it but nothing. In schedules I can see it but if I choose some windows to be unchecked Revit automatically unchecks more.....I think the entire family. But yes it works like this....I can see it changes the tag, the only problem is that I don't want the Yes/No parameter to check or uncheck the entire family. Just some of the windows/doors
THANK YOU !!! 😄 it works. I really apreciate your help 🙂
THANK YOU
THANK YOU
THANK YOU
I have a follow up question to this thread.
I am trying to do the same thing, but I wanted to do it through project parameters (that are based on shared parameters) rather than go into each door family and add these parameters and formula (I have quite a few door families in the project).
I created the shared parameters, then created the project parameters that are attached to the door category, and no I am trying to adjust the tag to show the relevant yes/no strings. But from what I have found there is no place to create the formula in the project.
Is there a way to do it?
Thanks!
I do not see a way to set a formula in a project on a Project Parameter that applies to Doors.
The best I could come up with would be to add fixed text to the tag, tied to a type-based visibility parameter within the tag, and setting up types with and without the fixed text being displayed. Not a very satisfying result, as the information ends up in the tag, not the Door object. I would probably choose to add the properties to all of my Door families.
Can't find what you're looking for? Ask the community or share your knowledge.