Hi All,
I wish to use a void in a revit family so that when i check a yes box it cuts and when i check no it does not. I have found that its not possible to create a visibility parameter for a void so I am trying to create this void through a length perameter where the check box add on the thickness of the element im cutting (and cuts it) when i check yes when i check no the lengtt is zero ( and not cutting it).
Im hoping someone can tell me how to set up a formula which does somethink like:
If check is yes then select Lenght A (set to 15mm) if check box is No the do not a length A (15 is not set
or
If check is yes then Lenght A is 15mm if check box is No then length A is 0mm?
Please can anyone assist me?
Thanks
Liam
Gelöst! Gehe zur Lösung
Gelöst von Ilic.Andrej. Gehe zur Lösung
Its easy
if(CheckMe,15mm,1mm)
where "CheckMe" is the name of a yes/no parameter. No void or solid dimension can be 0.
Here is one of my old screencasts- the same approach.
Andrej Ilić
phonetical: ændreɪ ilich
MSc Arch
Autodesk Expert Elite Alumni
If I understand correctly, you can't do what you want to do -- that is: have the void cut or not cut the host. You would need to model two conditions: one with the host cut and one without, and then use a Yes/No Parameter to control which one is visible.
Don;t set the length in the formula to 0, it only needs to be short enough to not cutting the solid. So if you move the void 10 mm away from the solid, a 9 mm void will not cut it, but a 11 mm void will.
@Anonymous: check this family out. It took a whole team of elite Reviteers working tirelessly for weeks on end to build this Alpha prototype. What do you think? Is it ready for Beta testing?
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.