& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
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.
Solved! Go to Solution.
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)
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.
Post your family here. I can take a look.
probably more like this though.
Void = if(Angle =0, 1=0, 1=1)
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.
Find it attached below.
Thank you!
see below and attached.
@curtisridenour wrote:see below and attached.
You don't need the if-statement for the visibility parameter. It just needs to be:
Thickened slab angle > 0
@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!
@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.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Type a product name