# Can a UI open a UI

**URL:** <https://forum.dynamobim.com/t/can-a-ui-open-a-ui/14375>\
**Category:** Packages\
**Created:** [August 29, 2017, 10:43am UTC](https://forum.dynamobim.com/t/can-a-ui-open-a-ui/14375 "2017-08-29T10:43:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rgs](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rgs/32/13536_2.png) [@rgs](https://forum.dynamobim.com/u/rgs)\
**Post date:** [August 29, 2017, 10:43am UTC](https://forum.dynamobim.com/t/can-a-ui-open-a-ui/14375/1 "2017-08-29T10:43:29Z")

</div>

Hello everyone

I have lately been playing around with the data shape package. and it is awesome.  
but now i have run into a minor problem.

I want one of my UI’s to start another UI when it is done with its task.  
I fort if i connected the Was Run (it sents out true og false) to the toggel input in the UI.MultipleInputForm ++, then it would work, but it dose not, do any of you guys out there know how to get this to work? if it is possible at all

Here is some screen dump of that i want to do  
first picture is the set up

 ![2017-08-29_1232](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/f/7f1b86c6bdd515651e666d013a696878ebbf2267.jpg)

secound is the error when running

 ![2017-08-29_1235](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/f/ff13e037844a2ed8704a65257ecf420f47ab562c.jpg)

thanks in advance

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [August 29, 2017, 12:30pm UTC](https://forum.dynamobim.com/t/can-a-ui-open-a-ui/14375/2 "2017-08-29T12:30:44Z")

</div>

Check this post out:

[https://forum.dynamobim.com/t/multiple-dialogue-boxes-for-more-awesomeness/](https://forum.dynamobim.com/t/multiple-dialogue-boxes-for-more-awesomeness/)

---

<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:** [August 29, 2017, 12:34pm UTC](https://forum.dynamobim.com/t/can-a-ui-open-a-ui/14375/3 "2017-08-29T12:34:31Z")

</div>

Hi @rgs ,  
very glad you like the package 🙂  
your problem here is that you feed an element list to the list of inputs.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/e/0e614853f91937f0b881a6f00cac1ec342ff6c89.jpg)  
If you want to display the list of elements in the UI you need to build a ListView input.

---

<div class="post-metadata">

**Author:** ![rgs](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rgs/32/13536_2.png) [@rgs](https://forum.dynamobim.com/u/rgs)\
**Post date:** [August 29, 2017, 12:46pm UTC](https://forum.dynamobim.com/t/can-a-ui-open-a-ui/14375/4 "2017-08-29T12:46:03Z")

</div>

Hey mostafa

thanks for the fast reply.

i dont want the UI to show the list, but nice to know, i just want the second UI to launch when the first one have been dealt with

But what you are telling me is that the reason for the error is that a try to input a list but that is not possible ?

---

<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:** [August 29, 2017, 12:49pm UTC](https://forum.dynamobim.com/t/can-a-ui-open-a-ui/14375/5 "2017-08-29T12:49:19Z")

</div>

If those elements aren’t used by the second UI then you don’t need to feed them at all.  
The “Inputs” input of UI.MultipleInputForm++ only takes data-shapes input types:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/3/f3da17a64bf70bf9b0a7dc79b36851f15717d0ce.png)  
you’re giving it revit elements that’s why it doesn’t work.

---

<div class="post-metadata">

**Author:** ![rgs](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rgs/32/13536_2.png) [@rgs](https://forum.dynamobim.com/u/rgs)\
**Post date:** [August 29, 2017, 12:53pm UTC](https://forum.dynamobim.com/t/can-a-ui-open-a-ui/14375/6 "2017-08-29T12:53:30Z")

</div>

The mening i that in the first UI the user will select some elements. when they have done that, and click run, a new UI(the secound) will apear, and there they have som options to manipulate the data from the selected elements from the first UI.

did that make any sens 🙂

---

<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:** [August 29, 2017, 1:05pm UTC](https://forum.dynamobim.com/t/can-a-ui-open-a-ui/14375/7 "2017-08-29T13:05:22Z")

</div>

Yes absolutely. Here’s a dummy example where the first form lets you select elements then the second form allows you to enter some informations to manipulate the selected elements :

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/4/34f248d680a35d0bde5ba2537b3ba667a80b9d5f.png)  
 ![multi ui](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/f/df15ccde17d107a6f66d74ef3fe4428c2a8187c1.gif)

---

<div class="post-metadata">

**Author:** ![rgs](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rgs/32/13536_2.png) [@rgs](https://forum.dynamobim.com/u/rgs)\
**Post date:** [August 29, 2017, 1:15pm UTC](https://forum.dynamobim.com/t/can-a-ui-open-a-ui/14375/8 "2017-08-29T13:15:28Z")

</div>

Thanks Mostafa

that was just what i needed. 👍

you are the best
