# Random Glazed Facade issue

**URL:** <https://forum.dynamobim.com/t/random-glazed-facade-issue/18709>\
**Category:** Revit\
**Created:** [February 1, 2018, 5:26pm UTC](https://forum.dynamobim.com/t/random-glazed-facade-issue/18709 "2018-02-01T17:26:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omar\_Tolba](https://avatars.discourse-cdn.com/v4/letter/o/a88e4f/32.png) [@Omar\_Tolba](https://forum.dynamobim.com/u/Omar_Tolba)\
**Post date:** [February 1, 2018, 5:26pm UTC](https://forum.dynamobim.com/t/random-glazed-facade-issue/18709/1 "2018-02-01T17:26:26Z")

</div>

![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/f/7fd86607f17d1b15f5b435bf16ef15287b7b0893.JPG) ![p02_01](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/3/33e0b54c1a308ac0a1dfd99c681ce135714d6dfd.jpg)  
Hi All,  
i want to divide this surface into vertical panels but in random width for each one  
i used panel quad random but it is generates equal widths

please help

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [February 1, 2018, 5:38pm UTC](https://forum.dynamobim.com/t/random-glazed-facade-issue/18709/2 "2018-02-01T17:38:32Z")

</div>

@Omar_Tolba See if this post helps …

> [@Random cladding wall (based on 3 defined widths)](https://forum.dynamobim.com/t/random-cladding-wall-based-on-3-defined-widths/15053/9):
>
> @w_de_bruijn Something like this? If so, try to reverse engineer and extend this to serve your purpose … //Facade dimensions l = 2; h = 2; //Panel widths pw1 = 0.145; pw2 = 0.095; pw3 = 0.046; spc = 0.010; pw11 = pw1+spc; pw21 = pw2+spc; pw31 = pw3+spc; //Panel count percentage pwn1 = Math.Floor((0.5\*l)/pw11); pwn2 = Math.Floor((0.3\*l)/pw21); pwn3 = Math.Floor((0.2\*l)/pw31); pw12 = List.Cycle(pw11,pwn1); pw22 = List.Cycle(pw21,pwn2); pw32 = List.Cycle(pw31,pwn3); a = List.Shu…

---

<div class="post-metadata">

**Author:** ![Omar\_Tolba](https://avatars.discourse-cdn.com/v4/letter/o/a88e4f/32.png) [@Omar\_Tolba](https://forum.dynamobim.com/u/Omar_Tolba)\
**Post date:** [February 1, 2018, 5:45pm UTC](https://forum.dynamobim.com/t/random-glazed-facade-issue/18709/3 "2018-02-01T17:45:40Z")

</div>

dear Vikram,  
thank you for your response… but i don’t get it at all  
please clarify

regards

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [February 1, 2018, 5:50pm UTC](https://forum.dynamobim.com/t/random-glazed-facade-issue/18709/4 "2018-02-01T17:50:54Z")

</div>

@Omar_Tolba I was suggesting that you study the code block at that link to get some ideas on an alternate approach.

I’m not sure how the node you’re using works (or why it isn’t).  
However please post sample files and if it’s a custom node, mention which package it is from. Somebody might have a solution or suggestion.
