Forums
Forums >> Revit Building >> Technical Support >> How do I make voids disappear in a family with a yes/no visible parameter?
|
|
active

Joined: Mon, Oct 9, 2006
12 Posts
 |
I am working on a family where I need to have a number of voids that can be turned on or off depending on how many are needed (openings for skylights in a custom sloped roofing insulation family). I have placed 4 voids (void extrusions) in my model where the base is locked to my base reference plane and the height is dynamic based on the overall height of the model (depends on slope of roof). The voids cut through a solid extrusion. This extrusion is joined to an adjacent solid blend, so the voids also cut through the joined geometry (unless I am reading Revit wrong, it appears as though joining geometry creates a solid object whose visibility over-rides the visibility of the joined objects).
I have selected each void, gone into its properties, and set "visible" to refer to a yes/no parameter. There are four voids, so there are four yes/no parameters in the "graphics" section of my family types window: Opening 01, Opening 02, Opening 03 and Opening 04. I have these parameters defaulting to unchecked (no).
When I load the family into my project, the voids are in place. No matter whether or not I set the yes/no parameter to yes or no, they are always there.
Does anyone know of a way to make the voids only show up when I want them to, or does a void form cut the solid whether it is visible or not?
|
This user is offline |
|
 |
|
site moderator|||

Joined: Mon, Jan 12, 2004
2889 Posts
 |
Yes you are correct voids cannot be set to cut or not cut using the yes/no visibility parameter directly.
You can however add a length parameter to the void extrusion as well as a conditional statement on the yes/no paramater.
Basically you want a length parameter with a formula on it to say if visibility is On then be such a length to intersect and cut the geometry. If Off then be too short to intersect the object.
ie:
Lets call the object A
A has a visibility parameter called Cut (which is a yes/no parameter)
we then apply a length parameter to the void, lets call it void length and group it under constraints or something.
The formula for void length might be:
void length = IF(Cut, 1500, 100)
HTH
-----------------------------------
Regards,
Chris.
Co-Founder | BIM Consultant | Software Designer B. Arch)
Xrev Revit API Addins | Revit Rants |
This user is offline |
View Website
|
 |
active

Joined: Mon, Oct 9, 2006
12 Posts
 |
Thank you much, that makes sense and think that I can pull that one off.
|
This user is offline |
|
 |
active

Joined: Mon, Oct 9, 2006
12 Posts
 |
I followed the "control visibility with height" idea, and it seems to be working swimmingly... there is only one reminaing side affect that I want to take care of...
The openings that I have created for my family need to be sized with instance parameters (so that I can easily snap the openings to objects that they open for). To do this, I have made a series of squares made of reference planes. I have snapped the dimensions (in plan) to the reference planes. Then, I have made the width and depth dimensions instance parameters, as well as the distance of the squares from the back and side of my model. When I load it into the project, I have shape handles for my openings. Problem is that I have shape handles for my openings whether they are visible or not. I would like it much if the shape handles could go away when the opening is not visible, especially since they crowd in line with the center and outside reference planes.
I tried turning off the visibility of the voids again, but that didn't work. I realized that the shape handles are on the reference planes, not the void. Unfortunately, I can't turn off visibility for the parameter or the reference planes. Does anyone have any ideas?
|
This user is offline |
|
 |
 |
Similar Threads |
Creating Y/N Parameter |
Revit Systems >> Technical Support
|
Wed, Dec 23, 2015 at 8:08:37 AM
|
2
|
**EMERGENCY** Please help! Nested countertop family voids showing in model |
Revit Building >> Technical Support
|
Thu, Sep 11, 2014 at 1:58:47 PM
|
1
|
EXTRUSION YES/NO PARAMETER |
Revit Structure >> Technical Support
|
Mon, Apr 28, 2014 at 4:04:36 PM
|
11
|
Void in family not visible in Project. |
Revit Building >> Technical Support
|
Tue, Oct 8, 2013 at 1:01:05 PM
|
10
|
Parameter formulas to select between two types then a instance |
Revit Building >> Technical Support
|
Sun, Jul 8, 2012 at 5:30:37 AM
|
5
|
 |
|
Site Stats
Members: | 2111141 | Objects: | 23189 | Forum Posts: | 152306 | Job Listings: | 3 |
|