# Family Insatnce by Point

**URL:** <https://forum.dynamobim.com/t/family-insatnce-by-point/24285>\
**Category:** Geometry\
**Created:** [July 30, 2018, 3:41pm UTC](https://forum.dynamobim.com/t/family-insatnce-by-point/24285 "2018-07-30T15:41:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Renzoj14](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/renzoj14/32/49196_2.png) [@Renzoj14](https://forum.dynamobim.com/u/Renzoj14)\
**Post date:** [July 30, 2018, 3:41pm UTC](https://forum.dynamobim.com/t/family-insatnce-by-point/24285/1 "2018-07-30T15:41:01Z")

</div>

Hi all,  
I’m trying to place piles in my Revit model using the FamilyInstanceByPoint node but for some reason Dynamo is reading the Z values of the points correctly.

I’m trying to place the piles directly underneath a number of capping beams but as you can see in the image, the piles go right through the capping beam. The placement points are derived from a line that runs along the bottom centre of each capping beam.

 ![Piles](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/8/683a463862e9112a11f5ab9f5a291150e9122499.PNG)  
 ![Script](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/9/5938ab136fc89fdbeb6bd35f246c86dd7fe9babf.png)  
[PlacePiles.dyn](https://forum.dynamobim.com/uploads/short-url/rrrESisfEs7FGfPLErcLiw1vvni.dyn) (42.2 KB)

If I run the script for a second time, the piles are then placed at the right height (below the capping beam) but I don’t really want to have to run the script twice.

Any ideas?

May thanks

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [July 30, 2018, 3:45pm UTC](https://forum.dynamobim.com/t/family-insatnce-by-point/24285/2 "2018-07-30T15:45:31Z")

</div>

Hi,

Please add your graph and a picture of your graph with all the previews enabled under the nodes.

[https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677](https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677)

---

<div class="post-metadata">

**Author:** ![Renzoj14](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/renzoj14/32/49196_2.png) [@Renzoj14](https://forum.dynamobim.com/u/Renzoj14)\
**Post date:** [July 30, 2018, 4:34pm UTC](https://forum.dynamobim.com/t/family-insatnce-by-point/24285/3 "2018-07-30T16:34:58Z")

</div>

Hi,  
Sorry I had strip back my script as it had other nodes or UI that made it rather large. I have included screen shot and script on my original post.  
Thanks

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [July 30, 2018, 5:22pm UTC](https://forum.dynamobim.com/t/family-insatnce-by-point/24285/4 "2018-07-30T17:22:40Z")

</div>

For me, it works well on the first attempt. (Revit 2017)  
Are you in automatic mode ?

 ![Place%20piles](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/2/02865859b0b8a1b7bb15ffbce3fcf440b0a59e03.png)

 ![Place%20piles%202](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/9/893a388945bd31c4b7870328b2b6bbe391e6a9ee.png)

---

<div class="post-metadata">

**Author:** ![Renzoj14](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/renzoj14/32/49196_2.png) [@Renzoj14](https://forum.dynamobim.com/u/Renzoj14)\
**Post date:** [July 30, 2018, 6:45pm UTC](https://forum.dynamobim.com/t/family-insatnce-by-point/24285/5 "2018-07-30T18:45:39Z")

</div>

No, Im on manual mode and also working on Revit 2017

---

<div class="post-metadata">

**Author:** ![Duy\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@Duy\_Nguyen](https://forum.dynamobim.com/u/Duy_Nguyen)\
**Post date:** [July 31, 2018, 3:45am UTC](https://forum.dynamobim.com/t/family-insatnce-by-point/24285/6 "2018-07-31T03:45:04Z")

</div>

[http://dynamobim.org/forums/topic/place-a-face-based-family/](http://dynamobim.org/forums/topic/place-a-face-based-family/)

---

<div class="post-metadata">

**Author:** ![Renzoj14](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/renzoj14/32/49196_2.png) [@Renzoj14](https://forum.dynamobim.com/u/Renzoj14)\
**Post date:** [July 31, 2018, 10:42pm UTC](https://forum.dynamobim.com/t/family-insatnce-by-point/24285/7 "2018-07-31T22:42:18Z")

</div>

Hi Alban,

just tried placing piles with dia. wider than the base of my capping beam, just like you’ve shown in your image, and it worked the first time i ran the script. I had a sneaky feeling that this might be the reason it worked for you the first time you ran the script. If you’d be so kind to try and use a beam that is wider than the dia. of the piles you are using, and see if my theory is right?

many thanks

---

<div class="post-metadata">

**Author:** ![Renzoj14](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/renzoj14/32/49196_2.png) [@Renzoj14](https://forum.dynamobim.com/u/Renzoj14)\
**Post date:** [July 31, 2018, 11:31pm UTC](https://forum.dynamobim.com/t/family-insatnce-by-point/24285/8 "2018-07-31T23:31:27Z")

</div>

Unfortunately my pile family is not face based but thanks!

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [August 1, 2018, 5:56am UTC](https://forum.dynamobim.com/t/family-insatnce-by-point/24285/9 "2018-08-01T05:56:18Z")

</div>

Hi Renzo,

It can’t be the reason.  
It is rather like a calculation was made after the piles were created and a node passthrough was missing somewhere, but I don’t see where for the moment.

 ![Piles](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/a/0a6fd649a036cf35167af76c65165c984b5f8e8a.PNG)

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [August 1, 2018, 2:08pm UTC](https://forum.dynamobim.com/t/family-insatnce-by-point/24285/10 "2018-08-01T14:08:34Z")

</div>

Hi @Renzoj14,

There is something strange in your Revit file. When I copy the pile and the Capping beam in another Revit projet, I haven’t to run twice your graph.

The solution will be to set the Height Offset once the piles are created.  
 ![Modify%20Heigt%20Offset](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/f/5f07898aa88f3835b9043b93e1ed9f90d3bbf7de.PNG)
