Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Yes/No Check Box

4 ANTWORTEN 4
GELÖST
Antworten
Nachricht 1 von 5
Anonymous
1744 Aufrufe, 4 Antworten

Yes/No Check Box

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

4 ANTWORTEN 4
Nachricht 2 von 5
Ilic.Andrej
als Antwort auf: Anonymous

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

Nachricht 3 von 5
barthbradley
als Antwort auf: Anonymous

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.  

Nachricht 4 von 5
ToanDN
als Antwort auf: Anonymous

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.

Nachricht 5 von 5
barthbradley
als Antwort auf: Anonymous

@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.

In Foren veröffentlichen  

Autodesk Design & Make Report