Hi there.
I'm attempting to make a tag that varies based on a shared text parameters value. As you can see in the screenshots, doors have a parameter named "Brandklasse" (Fire classification) which we set to a number between 1 and 10. And we'd like to have a fire classification tag (the left one) report just the number, and a door type tag that reports a text string based on what number is punched into the parameter.
So for example, if the door is classified with a 1, the door type tag would read El2 30, if it's a class 2 the tag would read El2 30-c and so on.
I can't seem to figure out if i can even use a text parameter as part of an "if" statement.
I hope that made sense ![]()
Gelöst! Gehe zur Lösung
Gelöst von ToanDN. Gehe zur Lösung
Brandklasse must be a Number or Integer Parameter, yours is a Text parameter so it cannot be used to drive a formula.
Assume Brandklasse is a shared Integer parameter in door families, create a label in door tag, load Brandklasse when you are in the label dialog window, add a calculated text parameter to the label and use the formula: if (Brandklasse = 1, "El2 30", if (Brandklasse = 2, "El2 30-c", " ")). The formula is an example so I only show 2 values. Expand it if you have more values to define.
Thank you so much. I did manage to eventually figure out that text parameters can't contribute to or draw from other parameters, but i would have spent ages looking for the correct parameters to use instead, was it not for your help. You da goat.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.