# Place generic models adaptive by excel coordinates and family type

**URL:** <https://forum.dynamobim.com/t/place-generic-models-adaptive-by-excel-coordinates-and-family-type/54851>\
**Category:** Revit\
**Tags:** revit, excel, dynamo\
**Created:** [September 7, 2020, 7:29am UTC](https://forum.dynamobim.com/t/place-generic-models-adaptive-by-excel-coordinates-and-family-type/54851 "2020-09-07T07:29:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ftotaro](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@ftotaro](https://forum.dynamobim.com/u/ftotaro)\
**Post date:** [September 7, 2020, 7:29am UTC](https://forum.dynamobim.com/t/place-generic-models-adaptive-by-excel-coordinates-and-family-type/54851/1 "2020-09-07T07:29:15Z")

</div>

Hello there!  
I’m new on making dynamo scripts so i’m learning from here and from several things around the websites.

I need to place a generic model adaptive in specific locations according to x, y, z coordinates coming from an excel file. This first part works.

I want to make it more stronger and specifically place generic model by type (there are 3 different types) according always to excel file (column 8).

Can anybody help me telling what are my mistakes?

Thanks a lot!

 ![script](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/4/641e91e4f790a552c0cbbf9c5cc045bf61537317.jpeg)

---

<div class="post-metadata">

**Author:** ![ftotaro](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@ftotaro](https://forum.dynamobim.com/u/ftotaro)\
**Post date:** [September 7, 2020, 7:30am UTC](https://forum.dynamobim.com/t/place-generic-models-adaptive-by-excel-coordinates-and-family-type/54851/2 "2020-09-07T07:30:44Z")

</div>

And the excel file:

 ![excel](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/8/28f6c49dee76cb0d9dbc4cc6f329dec86f6e43b3.jpeg)

---

<div class="post-metadata">

**Author:** ![ingenieroahmad](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ingenieroahmad/32/72992_2.png) [@ingenieroahmad](https://forum.dynamobim.com/u/ingenieroahmad)\
**Post date:** [September 7, 2020, 7:32am UTC](https://forum.dynamobim.com/t/place-generic-models-adaptive-by-excel-coordinates-and-family-type/54851/3 "2020-09-07T07:32:59Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/0/201a693e4cb7c23ac7034e345830bbe46d705c39.jpeg)

You feed type name input with integer ???

---

<div class="post-metadata">

**Author:** ![ftotaro](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@ftotaro](https://forum.dynamobim.com/u/ftotaro)\
**Post date:** [September 7, 2020, 7:35am UTC](https://forum.dynamobim.com/t/place-generic-models-adaptive-by-excel-coordinates-and-family-type/54851/4 "2020-09-07T07:35:08Z")

</div>

I guess not. What should be the “filter” between the two of them?

---

<div class="post-metadata">

**Author:** ![ingenieroahmad](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ingenieroahmad/32/72992_2.png) [@ingenieroahmad](https://forum.dynamobim.com/u/ingenieroahmad)\
**Post date:** [September 7, 2020, 7:38am UTC](https://forum.dynamobim.com/t/place-generic-models-adaptive-by-excel-coordinates-and-family-type/54851/5 "2020-09-07T07:38:51Z")

</div>

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

Have alook on the above shot for the proper data type to be used.

---

<div class="post-metadata">

**Author:** ![ftotaro](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@ftotaro](https://forum.dynamobim.com/u/ftotaro)\
**Post date:** [September 7, 2020, 7:53am UTC](https://forum.dynamobim.com/t/place-generic-models-adaptive-by-excel-coordinates-and-family-type/54851/6 "2020-09-07T07:53:04Z")

</div>

Thank you @ingenieroahmad , this is clear. What im asking now is that i lost the connection with the 8th column of the excel file. Am I wrong?

---

<div class="post-metadata">

**Author:** ![jwroelofs](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jwroelofs/32/55712_2.png) [@jwroelofs](https://forum.dynamobim.com/u/jwroelofs)\
**Post date:** [September 7, 2020, 8:55am UTC](https://forum.dynamobim.com/t/place-generic-models-adaptive-by-excel-coordinates-and-family-type/54851/7 "2020-09-07T08:55:25Z")

</div>

May be you to read the column as string?

---

<div class="post-metadata">

**Author:** ![ftotaro](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@ftotaro](https://forum.dynamobim.com/u/ftotaro)\
**Post date:** [September 7, 2020, 9:34am UTC](https://forum.dynamobim.com/t/place-generic-models-adaptive-by-excel-coordinates-and-family-type/54851/8 "2020-09-07T09:34:45Z")

</div>

@jwroelofs yes, to place the family at the x,y,z, locations and changing the different family type by the excel column
