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: 

Void visibility

11 ANTWORTEN 11
GELÖST
Antworten
Nachricht 1 von 12
drenL5229
635 Aufrufe, 11 Antworten

Void visibility

Hi,

 

I have a problem I don't know how to solve. I am using a void to cut an angle in a line based profile. I want to have my void not visible if the angle is 0 as it would not have to cut anything and I don't want any errors in my family when I do set it to 0.


It is an instance based parameter. I wanted to set it off with an IF statement but I am having errors for "circular..".

 

Basically, how to turn off the void when I set the angle at 0.

 

I appreciate your time.

 

 

11 ANTWORTEN 11
Nachricht 2 von 12
curtisridenour
als Antwort auf: drenL5229

You should use a yes no visibility parameter. Also you should set a parameter to the angle that has a formulat that never goes to 0 so it does not snap.

 

_Angle = if(Angle=0,1,Angle)

Nachricht 3 von 12
drenL5229
als Antwort auf: curtisridenour

Actually I want to have the ability to set it at 0 as well, snap, as you said.

So, if(Angle=0, Void (off), Void)

 

I hope this helps.

Nachricht 4 von 12
curtisridenour
als Antwort auf: drenL5229

Post your family here. I can take a look. 

 

probably more like this though.

Void = if(Angle =0, 1=0, 1=1)

Nachricht 5 von 12
mhiserZFHXS
als Antwort auf: drenL5229

You'll need a parameter for you to actually control the angle, and then a parameter that is linked to your voids angle. For the parameter controlling the void, you'll need an equation like :

 

If (Angle=0, 45, Angle)

 

This makes sure your angle parameter doesn't break.

 

Then, for your visibility parameter, have an equation that says:


Angle>0

 

This will hide your void if the angle is zero, since the voids angle will actually be 45, or whatever number you decide.

Nachricht 6 von 12
drenL5229
als Antwort auf: curtisridenour

Find it attached below.

Thank you!

Nachricht 7 von 12
curtisridenour
als Antwort auf: drenL5229

see below and attached.

curtisridenour_0-1677015837534.png

curtisridenour_0-1677015891673.png

 

 

Nachricht 8 von 12
curtisridenour
als Antwort auf: mhiserZFHXS

Angle>0 is a more elegant solution.
Nachricht 9 von 12
mhiserZFHXS
als Antwort auf: curtisridenour


@curtisridenour wrote:

see below and attached.

curtisridenour_0-1677015837534.png

 


You don't need the if-statement for the visibility parameter. It just needs to be:

 

Thickened slab angle > 0

Nachricht 10 von 12
ToanDN
als Antwort auf: drenL5229

You don't need any extra parameter or formula.

 

ToanDN_1-1677017484527.png

 

ToanDN_2-1677017497379.png

 

 

 

 

 

 
Nachricht 11 von 12
drenL5229
als Antwort auf: ToanDN

@ToanDN thank you!

 

It looks obvious now, so basically put it outside the reference line so that the extrusion has always 4 sides and we don't have to work with triangles, which I did and it made everything more difficult to figure.

 

Thanks!

Nachricht 12 von 12
ToanDN
als Antwort auf: drenL5229


@drenL5229 wrote:

 

It looks obvious now, so basically put it outside the reference line so that the extrusion has always 4 sides and we don't have to work with triangles, which I did and it made everything more difficult to figure.

 


Correct.  This is the method I used in older Revit versions, when we didn't have the luxury of the Cut geometry parameter for Void.

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