How to stop nested family with a void from cutting the host when the family's visibility is set to off.

How to stop nested family with a void from cutting the host when the family's visibility is set to off.

libengan
Advocate Advocate
1,461 Views
2 Replies
Message 1 of 3

How to stop nested family with a void from cutting the host when the family's visibility is set to off.

libengan
Advocate
Advocate

I am building a wall cabinet family that has the option to include recessed track lighting on the bottom.  The track lighting is a face-based nested family with a void that cuts the host like this:

 

libengan_0-1681753575357.png

 

Now I want to be able to control whether the lighting exists via a toggle parameter called "Counter Lighting".  However, when I link "Counter Lighting" to the visibility of the nested family, the track lighting disapears, but the void remains like this:

 

libengan_1-1681753738001.png

 

I have tried two workarounds to solve this:

  • Created an extra paramter within the light family called "Visible" and linked it to the "Cuts Geometry" property of the void within the family. Then linked that "Visible" parameter to the same "Counter Lighting" parameter noted above.  This doesn't fix the issue.  The void still cuts the host even though "Cuts Geometry" is off.libengan_2-1681754003208.png

     

  • Created an "Void Offset" parameter within the light family so that when "Visible" is off, it moves the void out of the host to prevent cutting it.  However, now when I turn off "Counter Lighting", I get an error message:
    libengan_3-1681754226442.png

    And the only option is to delete the instance.

 

So how do we accomplish having nested families that cut the host and that can be toggled on and off?

0 Likes
Accepted solutions (1)
1,462 Views
2 Replies
Replies (2)
Message 2 of 3

ToanDN
Consultant
Consultant
Accepted solution

- Duplicate the face based light family, delete both the light and the void, basically an empty family

- Load it in the cabinet but do not place it

- Select the undercabinet light fixture and assign a label to it to create a drop-down Family Type parameter

- Load it in the project and choose the Empty family type from the drop-down when you don't want the light

- You can get rid of all the visibility parameters

0 Likes
Message 3 of 3

libengan
Advocate
Advocate
That worked. I wish just toggling the visible property worked because that would keep the family smaller, but this is a good solution.

Thanks ToanDN!
0 Likes