# Cannot create a solid form through two loops

**URL:** <https://forum.dynamobim.com/t/cannot-create-a-solid-form-through-two-loops/734>\
**Category:** Packages\
**Created:** [November 19, 2014, 5:21pm UTC](https://forum.dynamobim.com/t/cannot-create-a-solid-form-through-two-loops/734 "2014-11-19T17:21:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kristopher\_Dane](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@Kristopher\_Dane](https://forum.dynamobim.com/u/Kristopher_Dane)\
**Post date:** [November 19, 2014, 5:21pm UTC](https://forum.dynamobim.com/t/cannot-create-a-solid-form-through-two-loops/734/1 "2014-11-19T17:21:28Z")

</div>

I’ve hacked one of the samples to read though a .csv file that contains a list of x,y,z coordinates. My code takes 8 of those points, creates two loops and then I want to turn those two loops into a solid similar to if I selected the loops and clicked on the “Create Form” button on the ribbon.

The image below shows what I have on the left and what I want on the right. Ultimately, I’ll iterate through a large csv file and the mass family will consist of lots of solid forms but for now I just want to get one working.

![Capture](http://dynamobim.com/wp-content/uploads/forum-assets/kristopherdanegmail-com/11/19/Capture-300x134.png)

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Here’s the code and the .csv

[ImportExport\_CSV to Stuff2](http://dynamobim.com/wp-content/uploads/forum-assets/kristopherdanegmail-com/11/19/ImportExport_CSV-to-Stuff2.dyn)

[thinnedoutfortest](http://dynamobim.com/wp-content/uploads/forum-assets/kristopherdanegmail-com/11/19/thinnedoutfortest.csv)

Thanks!

Kris

&nbsp;

---

<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:** [November 19, 2014, 10:22pm UTC](https://forum.dynamobim.com/t/cannot-create-a-solid-form-through-two-loops/734/2 "2014-11-19T22:22:11Z")

</div>

Hi Kris,

I think what you had was a good start. From what I could tell, your problem was that the points in your .csv file were not sorted properly beforehand and it was hard for you to organize them into logical groups. I have a few suggestions:

[ImportExport\_CSV-to-Stuff2-20.11.14](http://dynamobim.com/wp-content/uploads/forum-assets/dimiter_vmail-bg/11/20/ImportExport_CSV-to-Stuff2-20.11.14.dyn)

![2014-11-20_113111](http://dynamobim.com/wp-content/uploads/forum-assets/dimiter_vmail-bg/11/20/2014-11-20_113111-300x134.jpg)

&nbsp;

A very helpful tip that I learned from [Ritesh Chandawar](http://dynamobim.com/forums/users/ritesh-chandawarautodesk-com/ "View Ritesh Chandawar's profile"), was that if you connect a list of points to a watch node, you can select the individual points and see their position in the background canvas:

![2014-11-20_114049](http://dynamobim.com/wp-content/uploads/forum-assets/dimiter_vmail-bg/11/20/2014-11-20_114049-300x251.jpg)

![2014-11-20_114041](http://dynamobim.com/wp-content/uploads/forum-assets/dimiter_vmail-bg/11/20/2014-11-20_114041-300x254.jpg)

Another problem is that there are two types of geometry in dynamo: Revit owned (model and reference curves) and Dynamo owned(geometry curves). You converted your points to model geometry and tried to use them into a geometry node. Ideally you’d stick with geometry curves till you finish your design and then convert everything to model geometry. That is because model geometry tends to be quite a bit slower due to all the extra data that Revit tries to load into it.

&nbsp;

Tho if you want to use model geometry that is still doable:

[ImportExport\_CSV-to-Stuff2-Corrected](http://dynamobim.com/wp-content/uploads/forum-assets/dimiter_vmail-bg/11/20/ImportExport_CSV-to-Stuff2-Corrected.dyn)

![2014-11-20_120903](http://dynamobim.com/wp-content/uploads/forum-assets/dimiter_vmail-bg/11/20/2014-11-20_120903-300x121.jpg)

&nbsp;

&nbsp;

&nbsp;

&nbsp;
