We ll be using for a reference model Zmapping service to get the correct dimensions and position of facades along the Great Russell Street.
Link the model into a new project ďŹ le in Revit. Use pick line to get the directions and distances of the chosen strip of facades.
Create new generic model family and copy-andpaste the picked lines into that family. Rebuild those lines with model lines inside the family using Splines. Add curvature to them by dragging their control points.
Create a new conceptual mass family and load the previously created generic model family into it. Then copy it 16 m above.
Select the lines and create solid form between them. this will create surfaces, which later on we ll divide into exing facades.
Select the created surfaces and divide them.
Select the surface and change the pattern to hexagonal. In the properties panel under U Grid change the Layout to Fixed Distance and Number to 8000 and under V Grid change the Layout to Fixed Distance and Number to 1000 .
Create a new curtain panel pattern based family and change the base grid into hexagons.
Select all the reference lines and create form.
From the two options choose the solid form rather than just a surface.
After adjusting the height of the extrusion change its material to Glass.
Select the extrusion and associate visibility parameter to it.
Click on create new parameter.
Set it as an instance parameter and add name to it. Group it under Visibility parameters.
Repeat the previous steps and create a new solid panel in the same place as the previous glass panel. Assign a solid material to it like aluminium.
Assign new parameter to it with the same settings as for the previous glass panel and name it solid.
Create a new point element on the reference lines.
Create a rectangular proďŹ le by picking the reference plane of the previously created point element and draw a rectangle 240mm by 40mm.
Load the family into the previous Conceptual Mass family.
To easier navigate through the dierent workspaces click W + T to break windows into tiles.
Insert into the pattern of the facades the newly created panel, which will appear under Hexagon Patter section.
Facades will become populated with panels. Depending on the curvature and angle they may appear some issues, which can be resolved by again reloading the curtain panel family.
Open Dynamo from the Manage (Revit 2016) or Add-ins tab.
Create Family Types node and choose the name of the previously created curtain panel family from the list.
Create nodes: Family Instance By Family T ype Element Set Parameter By Name Connect them in the above order. Create Code Block (right click) and type in the name of the previously created visibility parameter. Connect it into Element Set Parameter By Name node.
Create nodes: All Elements of Family Type Count Connect them in the above order. Create Code Block (right click) and type in Math.Round(Math.RandomList(a)); Connect the count node into the code block.
Connect the output of the code block into Element Set Parameter By Name. Click Run to let Dynamo change visibility parameters inside the conceptual mass family.
Dynamo will randomize the panels layout inside the original facades in the Revit project. Depending on the curvature and angle they may appear some issues, which can be resolved by again reloading the conceptual mass family.