# Sorting list for location data to correct view

**URL:** <https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194>\
**Category:** Uncategorized\
**Created:** [April 19, 2018, 2:54am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194 "2018-04-19T02:54:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [April 19, 2018, 2:54am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/1 "2018-04-19T02:54:44Z")

</div>

Hi, So Im duplicating sheets with floor plans and turning them into ceiling plans. Using all the data from sheets and views for the new ceiling plans. (eg crop box, location data yada yad).

Im stuck at the problem below of sorting the location data correctly where two views is on one sheet. Can anyone solve for me? I’m not sure how to sort “2 List” to divide into two for the two view ports under “2 List” in View.SetCropBoxCurves.

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

Just to Check, When i create my sheets and place views. is this list below working right? Thanks for any help 🙂

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/6/862b6de0735f077328e9ec6d5c81f024ebd1cd4c.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 19, 2018, 3:18am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/2 "2018-04-19T03:18:48Z")

</div>

Hi @vanman

Use List.Combine node:

> [@Steam node placing view on sheet](https://forum.dynamobim.com/t/steam-node-placing-view-on-sheet/17250/3):
>
> Hi @gatum Try this workaround if you still face issues upload your rvt file.

---

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [April 19, 2018, 4:05am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/3 "2018-04-19T04:05:46Z")

</div>

I might have been staring at this for to many hours (2 days). Not quite understanding what I do with the list combine. Script works well for 1 sheet and 1 view but introduce multiple views on a sheet to duplicate and all goes bad (at listing locations and now i assume putting on sheets from your input). Here it is below if you can help or show me any links if its simple. Otherwise ill keep at it myself. Thanks!

[Ceiling Plans from views on sheets(1 Sheet 1 View).dyn](https://forum.dynamobim.com/uploads/short-url/dDKP3fEdhrSdbkXJQrJN2B2VcBk.dyn) (52.6 KB)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 19, 2018, 4:46am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/4 "2018-04-19T04:46:41Z")

</div>

@vanman Everything works as expected. Try to understand the graph below it should work for you.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/1/21813111e62ddfacac26015d370bb73e1eaf69c2.png)

> [@vanman](#):
>
> ive messed around so much i cant even get my script back to working for 1 view on 1 sheet. loosing my mind haha

Don’t be upset if you face any problems please come back here. Cheers!

---

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [April 19, 2018, 4:49am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/5 "2018-04-19T04:49:09Z")

</div>

Just got my Script working again for 1 View 1 Sheet. I will try tackle it again to make it work for multiple views on sheets. Thanks for the help man.

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 19, 2018, 4:49am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/6 "2018-04-19T04:49:45Z")

</div>

> [@vanman](#):
>
> Thanks for the help man.

No Problem 😉. Be happy 🙂

---

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [April 19, 2018, 5:07am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/7 "2018-04-19T05:07:29Z")

</div>

I think it might be an issue with View.GetCropBoxCurves and View.SetCropBoxCurves. If they dont get a flattened list they wont work and return null

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/1/616ba828b4b709d8f6256cabec0ead9be9710d13.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 19, 2018, 5:08am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/8 "2018-04-19T05:08:38Z")

</div>

Show me full graph with all the previews visible

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 19, 2018, 6:07am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/11 "2018-04-19T06:07:20Z")

</div>

Try changing @List Levels the way i showed you above.

---

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [April 19, 2018, 6:10am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/12 "2018-04-19T06:10:05Z")

</div>

I feel so close! haha. everything worked great but it hasnt put the views on the sheet. those lists look ok i thought?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/1/71decc72074fd4b91dd7d74ba1ac70e84b6520f9.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 19, 2018, 6:12am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/13 "2018-04-19T06:12:15Z")

</div>

@vanman Do these changes:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/e/5e22efd1e6852473f4498bf24109a0044104f9a0.png)

---

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [April 19, 2018, 6:15am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/14 "2018-04-19T06:15:43Z")

</div>

progress! I get one view on all of the sheets but the others arnt going on

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/8/5819770fcf5b6e47fbd44b3d59c53477db02917a.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 19, 2018, 6:17am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/15 "2018-04-19T06:17:25Z")

</div>

@vanman change lacing to longest.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/7/37cdaaa373f3355e3a779a9021fc1427bd1cee2c.png)

---

<div class="post-metadata">

**Author:** ![robert12546358](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@robert12546358](https://forum.dynamobim.com/u/robert12546358)\
**Post date:** [April 19, 2018, 6:17am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/16 "2018-04-19T06:17:58Z")

</div>

**Sheets = Views = Points** all are match then output is same.

---

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [April 19, 2018, 6:20am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/17 "2018-04-19T06:20:27Z")

</div>

☹ im not sure. still wont get all of them

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/b/7bd68d6202e43ba6c08b30f4202aca47a216c55d.png)

---

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [April 19, 2018, 6:27am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/19 "2018-04-19T06:27:17Z")

</div>

so under list 4 i need to show the same sheet 3 times to put 3 different views on it? how would i do that?

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 19, 2018, 6:29am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/20 "2018-04-19T06:29:38Z")

</div>

which version of steam nodes package your using?

---

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [April 19, 2018, 6:30am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/21 "2018-04-19T06:30:16Z")

</div>

100.0.1

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 19, 2018, 6:32am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/22 "2018-04-19T06:32:58Z")

</div>

@vanman Uninstall and install latest version:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/f/bf774f47e54e4516bef6b74cd51be937ab6f7356.png)

---

<div class="post-metadata">

**Author:** ![PauLtus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paultus/32/48502_2.png) [@PauLtus](https://forum.dynamobim.com/u/PauLtus)\
**Post date:** [April 19, 2018, 6:34am UTC](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194/23 "2018-04-19T06:34:09Z")

</div>

> [@vanman](#):
>
> 100.0.1

😯

Are you sure?

I don’t think that one exists.

[Next page](https://forum.dynamobim.com/t/sorting-list-for-location-data-to-correct-view/21194.md?page=2)
