# Lists of points

**URL:** <https://forum.dynamobim.com/t/lists-of-points/785>\
**Category:** Packages\
**Created:** [December 8, 2014, 3:16am UTC](https://forum.dynamobim.com/t/lists-of-points/785 "2014-12-08T03:16:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex\_volt](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@alex\_volt](https://forum.dynamobim.com/u/alex_volt)\
**Post date:** [December 8, 2014, 3:16am UTC](https://forum.dynamobim.com/t/lists-of-points/785/1 "2014-12-08T03:16:20Z")

</div>

I have two lists of points  
I have to take the points as shown:

- For example, points [0] list of the first list (in red) I associate them with points [1] list of the second list (in blue)

or [0] list [0] point with —\> [1] list [0] point

I could not do it

can you help?

thanks ![liste](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/f/ff7a81f9d8d653b4e8ed290136b1977b1c7b00d7.jpg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kompolschek](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@Peter\_Kompolschek](https://forum.dynamobim.com/u/Peter_Kompolschek)\
**Post date:** [December 8, 2014, 5:52am UTC](https://forum.dynamobim.com/t/lists-of-points/785/2 "2014-12-08T05:52:33Z")

</div>

alex please be more precise!

you want to extract just list 1 points 0 and list 2 points1?

or do you want to create a rule like list 1 : points 0,1,2,3… list 2 points 1,2,3…

or what exactly do you have in mind

peter

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [December 8, 2014, 7:41am UTC](https://forum.dynamobim.com/t/lists-of-points/785/3 "2014-12-08T07:41:59Z")

</div>

Your end result is a bit unclear. Maybe you could provide a quick sketch? This is what i understood:

![Capture](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/1X/82436a8fe2139871d94da4b5fc14df7e3ea727cc.jpg)

---

<div class="post-metadata">

**Author:** ![alex\_volt](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@alex\_volt](https://forum.dynamobim.com/u/alex_volt)\
**Post date:** [December 8, 2014, 10:29am UTC](https://forum.dynamobim.com/t/lists-of-points/785/4 "2014-12-08T10:29:38Z")

</div>

Thanks Peter and Dimitar  
sorry for the English, but I put the figure without color  
I take the values of the first list (in red) and associate them with those of the second list (in blue)  
You should have a final list:

Point (x = 7655 y = 0.30) from the first list  
Point (x = 7655 y = 5.70) from the second list

and then

Point (x = 3.499 y = 0.30) from the first list  
Point (x = 3.499 y = 5.70) from the second list

and then

Point (12,499 x = y = 0.30) from the first list  
Point (x = 12 499 y = 5.70) from the second list

and then

Point (x = 3.499 y = 6.30) from the first list  
Point (x = 3.499 y = 11.70) from the second list

etc.

For these points then insert the wooden beams.  
Thanks for collaboration ![lista punti 1](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/0/09e674f2eb2f82b2934617a72d7ca5bcd6255dbe.jpg) ![lista punti2](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/b/bea12d46d76f8d4230d949e3d2a4a933026d73d8.jpg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kompolschek](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@Peter\_Kompolschek](https://forum.dynamobim.com/u/Peter_Kompolschek)\
**Post date:** [December 8, 2014, 11:06am UTC](https://forum.dynamobim.com/t/lists-of-points/785/5 "2014-12-08T11:06:15Z")

</div>

flatten both lists

drop first four elements from list 2

takle element from list 1 and 2

![Unbenanntes Bild](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/a/a8bd4c104374549c141ffbc05b9c05031306461b.png)

---

<div class="post-metadata">

**Author:** ![alex\_volt](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@alex\_volt](https://forum.dynamobim.com/u/alex_volt)\
**Post date:** [December 8, 2014, 12:28pm UTC](https://forum.dynamobim.com/t/lists-of-points/785/6 "2014-12-08T12:28:00Z")

</div>

thanks Peter  
I settled with Python  
I drew the lines blue  
now I have to put on the wooden beams  
how can I do for you?  
and for the material? you can give it with python?

Thank you very much for your cooperation

&nbsp;

![lista punti3](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/1X/2244cab9742a2b671a2cb10184e5375ac72e05d0.jpg)

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [December 8, 2014, 9:14pm UTC](https://forum.dynamobim.com/t/lists-of-points/785/7 "2014-12-08T21:14:38Z")

</div>

That is some pretty creative use of python, Alex. Good job. Now that you have the curves, you don’t need python for the last step.

Luckily with the changes in 0.74, creating beams is easier than ever. Just load your desired wood beam family into Revit and try the following:

![2014-12-09_103532](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/b/b25a86482fd91e0b07c4f0aea55d3a331b6f7f48.jpg)

&nbsp;

![2014-12-09_103817](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/a/a8af0a4d133f16f2dc7b3234f59f3ef6c9b20231.jpg)

---

<div class="post-metadata">

**Author:** ![alex\_volt](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@alex\_volt](https://forum.dynamobim.com/u/alex_volt)\
**Post date:** [December 9, 2014, 5:24am UTC](https://forum.dynamobim.com/t/lists-of-points/785/8 "2014-12-09T05:24:16Z")

</div>

Thank Dimitar  
you can use the node StructuralFraming although I have two different sections on the beam?  
and if instead of the curves I lines?

---

<div class="post-metadata">

**Author:** ![alex\_volt](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@alex\_volt](https://forum.dynamobim.com/u/alex_volt)\
**Post date:** [December 9, 2014, 5:25am UTC](https://forum.dynamobim.com/t/lists-of-points/785/9 "2014-12-09T05:25:35Z")

</div>

Thank Dimitar  
you can use the node StructuralFraming although I have two different sections on the beam?  
and if instead of the curves I straight line?

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [December 9, 2014, 5:33am UTC](https://forum.dynamobim.com/t/lists-of-points/785/10 "2014-12-09T05:33:54Z")

</div>

Alex, the easiest thing you could do is to somehow split the list of curves by section and apply each of those to a separate “StructuralFraming” node.
