# Data-Shapes slider input

**URL:** <https://forum.dynamobim.com/t/data-shapes-slider-input/44262>\
**Category:** Packages\
**Tags:** dynamo\
**Created:** [December 10, 2019, 12:13am UTC](https://forum.dynamobim.com/t/data-shapes-slider-input/44262 "2019-12-10T00:13:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamzeh\_ahmad\_1989](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@hamzeh\_ahmad\_1989](https://forum.dynamobim.com/u/hamzeh_ahmad_1989)\
**Post date:** [December 10, 2019, 12:13am UTC](https://forum.dynamobim.com/t/data-shapes-slider-input/44262/1 "2019-12-10T00:13:38Z")

</div>

Hello Everyone, I would like to ask about the Data-shapes slider Node if it could be possible to modify it to be able to have a list ( multiple values ) for the maximum input instead of one value because for each slider I have a maximum value and it will be different than each other ( this case it’s as an example )

I would be very appreciated for your help

 ![Data-Shapes](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/b/9b75115e38c60d420543c8733e1b8a42534e7bf2.png)

---

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [December 10, 2019, 8:10am UTC](https://forum.dynamobim.com/t/data-shapes-slider-input/44262/2 "2019-12-10T08:10:40Z")

</div>

if your list.count always outputs list 0, list 1 and list 2, i would say use three UI.Sliders and use List.Join between the Slider Output and the Inputs.

---

<div class="post-metadata">

**Author:** ![hamzeh\_ahmad\_1989](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@hamzeh\_ahmad\_1989](https://forum.dynamobim.com/u/hamzeh_ahmad_1989)\
**Post date:** [December 10, 2019, 11:06am UTC](https://forum.dynamobim.com/t/data-shapes-slider-input/44262/3 "2019-12-10T11:06:20Z")

</div>

Hello Daan, thanks for your replay, unfortunately it contains more than three this is only an example , the number of the list is changing according to the rooms number so its possible to have more than three

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [December 15, 2019, 12:11pm UTC](https://forum.dynamobim.com/t/data-shapes-slider-input/44262/4 "2019-12-15T12:11:48Z")

</div>

hi @hamzeh_ahmad_1989 ,  
here’s how you can do that : just switch the lacing on the UI.Slider node to longest. That will generate as many slider inputs as needed , with the appropriate maximum values :

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/9/2942d7742a252b84301ef90216e7fb76a181373e.png)

---

<div class="post-metadata">

**Author:** ![hamzeh\_ahmad\_1989](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@hamzeh\_ahmad\_1989](https://forum.dynamobim.com/u/hamzeh_ahmad_1989)\
**Post date:** [December 15, 2019, 1:49pm UTC](https://forum.dynamobim.com/t/data-shapes-slider-input/44262/5 "2019-12-15T13:49:33Z")

</div>

Thank you so much, Mostafa , it worked perfectly, but it ran the slider interface screen twice is this something also related to changing the lacing ?

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [December 15, 2019, 2:01pm UTC](https://forum.dynamobim.com/t/data-shapes-slider-input/44262/6 "2019-12-15T14:01:39Z")

</div>

I have noticed that when you make changes to the inputs of UI++ on manual mode, it seems to run all the modifications you made. But that’s only while making modifications. If you just open the definition and run in dynamo or through the player that won’t happen.

---

<div class="post-metadata">

**Author:** ![hamzeh\_ahmad\_1989](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@hamzeh\_ahmad\_1989](https://forum.dynamobim.com/u/hamzeh_ahmad_1989)\
**Post date:** [December 15, 2019, 2:03pm UTC](https://forum.dynamobim.com/t/data-shapes-slider-input/44262/7 "2019-12-15T14:03:50Z")

</div>

i will do it like that , thanks Mostafa again for your help , i really appreciated.

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [December 15, 2019, 2:05pm UTC](https://forum.dynamobim.com/t/data-shapes-slider-input/44262/8 "2019-12-15T14:05:06Z")

</div>

my pleasure! 🙂

---

<div class="post-metadata">

**Author:** ![atharva.purohit466SX](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/atharva.purohit466sx/32/116951_2.png) [@atharva.purohit466SX](https://forum.dynamobim.com/u/atharva.purohit466SX)\
**Post date:** [January 13, 2022, 7:54am UTC](https://forum.dynamobim.com/t/data-shapes-slider-input/44262/9 "2022-01-13T07:54:08Z")

</div>

Hi Mostafa,  
Data-Shapes is an excellent package, thank you!  
(UI++ used for slider)

Regards,  
ap
