# Combining a script

**URL:** <https://forum.dynamobim.com/t/combining-a-script/94089>\
**Category:** Dynamo Player\
**Tags:** dynamo\
**Created:** [September 27, 2023, 2:32pm UTC](https://forum.dynamobim.com/t/combining-a-script/94089 "2023-09-27T14:32:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cameron2RBHD](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@cameron2RBHD](https://forum.dynamobim.com/u/cameron2RBHD)\
**Post date:** [September 27, 2023, 2:32pm UTC](https://forum.dynamobim.com/t/combining-a-script/94089/1 "2023-09-27T14:32:36Z")

</div>

Hi All,

Following on from watching a YouTube video of a guide to putting coordinates into families through dynamo. I have been struggling to combine the generic script and modify it down so i can put the coordinates into specific families with a specific Type Name or other parameter

 ![BM - Pile Coordinates_script_2023-09-27_03-26-17](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/d/cdfd572a5b199c80be392bf96881726e5aeb689c.png)  
That is the 2 scripts apart and i am wondering what is the best way to filter down the structural foundations to structural foundations with a Type Name of “BM - Pile”

Any help would be greatly appreciated

Cheers  
Cam

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [September 27, 2023, 2:35pm UTC](https://forum.dynamobim.com/t/combining-a-script/94089/2 "2023-09-27T14:35:37Z")

</div>

You’re on the right path, you just need to make sure you filter the actual instance element instead of the type name.
