Of course I didn't place them one at a time. In fact, I talked about this trick when I presented at RTC North America 2016 (now re-brand to BILT). My class title named Railing, Railing, Railing was about the railing improvement in Revit 2017. (i.e. One could host railing to the top of the wall, floor and roof, etc.)
In the class, I showed some possible use of railing (other than the actual function of railing) in a Revit project. I talked about how to "hack" the railing support family
The idea is pretty simple. You start a new support family, insert the light fixture as nested family.
Make sure the nested light is set to "Shared".
From the nested light, I have different types family set as different colors. This is to allow me to change the colors of lights in the scene. I wrote this post in 2014 explaining how to use this conditional statement to drive different material which allows me to change to variety of colors.
Next, I create a new railing type that has no railing profile, baluster; only a Handrail Type. This handrail type has a profile family (Profile Round String: Radius:1/8") that mimic the light's cable; A support family assigned with fixed distance 4" spacing.
Once this is done, I can place it like any railing. It looks something like this:
Using Pick New Host, I can easily place the light (railing) on the roof.
Select the light, use array to copy a dozen of times.
Here's the problem. All the light bulbs are the same color. Since I made the nested light family "shared", I can select each light one at a time to change the color. But who has time for that?
Ran the script and I am good to go.
This is what it looks like with night setting in Enscape.
Stay tuned for the next post! Thanks.