Hi, I have created "Yes/No" visibility parameter in a family and associated it with the text parameter which should changing the value according the yes/no parameter. I have tried writing this, but is not working: If(Visibilidade = 1 > 2, 2 > 1,Código SAP = 10.227.385), is it correct? I never tried to do formulas before. Thanks in advance!
Gelöst! Gehe zur Lösung
Gelöst von ToanDN. Gehe zur Lösung
Gelöst von L.Maas. Gehe zur Lösung
True is implied for boolean (Yes/No). So it will be something like if(Visibilidade, 'True Statement', 'False Statement')
Louis
Please mention Revit version, especially when uploading Revit files.
Thanks for your help, but I do not know if I have interpreted in the correct way what you have said.I want that the "Código SAP" parameter changes its value according to "Visibility" parameter (if it is checked the "Código SAP "should be 10227384, if not, the" Código SAP"should be 10227381). Like in this image below:
Lous is giving you an example. Use that example to replace the Test parameter with your actual Código SAP parameter. Then, in the formula, replace 1 with 10227384 and replace 0 with 10227381 .
I tried as you said, replacing the gaps, but it still not working. A warning has appeared - "inconsistent units". Something is not working properly and I do not know what
if(Visibilidade, "10.227.384", "10.227.381")
By the way, you topic Subject is misleading. It should read "Control another parameter value with Yes/No visibility parameter".
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.