# How to get X,Y,Z Point from wall

**URL:** <https://forum.dynamobim.com/t/how-to-get-x-y-z-point-from-wall/17146>\
**Category:** Revit\
**Tags:** revit\
**Created:** [December 6, 2017, 7:10am UTC](https://forum.dynamobim.com/t/how-to-get-x-y-z-point-from-wall/17146 "2017-12-06T07:10:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpradeep5110](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dpradeep5110/32/41314_2.png) [@dpradeep5110](https://forum.dynamobim.com/u/dpradeep5110)\
**Post date:** [December 6, 2017, 7:10am UTC](https://forum.dynamobim.com/t/how-to-get-x-y-z-point-from-wall/17146/1 "2017-12-06T07:10:43Z")

</div>

Hi all,  
I am placing one family by manually. I try to create a automatic family placement inside of the opposite wall. But I get only centre point of the room only. How to get the X,Y,Z point from opposite wall.

 ![Transmitter](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/0/600a5199e4853eb8116da5623c5a98262fccbd5f.PNG)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [December 6, 2017, 1:16pm UTC](https://forum.dynamobim.com/t/how-to-get-x-y-z-point-from-wall/17146/2 "2017-12-06T13:16:39Z")

</div>

Assuming your family is point based and your rooms have parallel walls, you could try this:  
Get the family which you have.  
Get the wall nearest the placed family.  
Get the normal and from that wall.  
Get the room.  
Get the bounding elements of the room.  
Remove the previously selected wall from the list of bounding walls.  
Use a surface.projectonto node to move the point along the normal until it finds the next wall of the room.  
Place a new family at that point.  
Rotate the family 180 degrees on the Z axis.

---

<div class="post-metadata">

**Author:** ![dpradeep5110](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dpradeep5110/32/41314_2.png) [@dpradeep5110](https://forum.dynamobim.com/u/dpradeep5110)\
**Post date:** [December 7, 2017, 5:00am UTC](https://forum.dynamobim.com/t/how-to-get-x-y-z-point-from-wall/17146/3 "2017-12-07T05:00:41Z")

</div>

Hi JacobSmall,  
I am placing the family on opposite wall but I need to rotate the family position as mirror type. I tried to use element.postion-rotation-mirrored node but I am stuck to where this output of node to given. Can u told what is the possible option to mirror the family.

 ![Transmitter](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/0/600a5199e4853eb8116da5623c5a98262fccbd5f.PNG) ![Transmitter 2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/7/07a126f599942907a8545882ce8a9057a23e36dc.PNG)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [December 7, 2017, 6:37am UTC](https://forum.dynamobim.com/t/how-to-get-x-y-z-point-from-wall/17146/4 "2017-12-07T06:37:28Z")

</div>

Apparently I posted to the wrong thread… sorry about that.

After you move the family you need to mirror the elements transform, or rotate it 180 degrees about the Z axis. Send a sample file and the .dyn and I’ll try and take a look at it tomorrow night.

---

<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 7, 2017, 7:25am UTC](https://forum.dynamobim.com/t/how-to-get-x-y-z-point-from-wall/17146/5 "2017-12-07T07:25:59Z")

</div>

Have you tried the “RayBounce.ByOriginDirection” node? Once you find the nearest wall, you could shoot a ray with the initial instance as origin and the wall’s (reverse) orientation as a direction.

---

<div class="post-metadata">

**Author:** ![dpradeep5110](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dpradeep5110/32/41314_2.png) [@dpradeep5110](https://forum.dynamobim.com/u/dpradeep5110)\
**Post date:** [December 7, 2017, 9:15am UTC](https://forum.dynamobim.com/t/how-to-get-x-y-z-point-from-wall/17146/6 "2017-12-07T09:15:17Z")

</div>

I attached the revit and dynamo file. But my background file size is more than 6MB, So it not uploaded.  
[Beam Transmitter & Recevier.rvt](https://forum.dynamobim.com/uploads/short-url/8PfGlNZjhq6wpef9ipXmMzSv9JS.rvt) (2.5 MB)  
[Transmitter & Recevier.dyn](https://forum.dynamobim.com/uploads/short-url/oCtkfqEjthjmFXv3QJNVkZTAAOE.dyn) (22.6 KB)

---

<div class="post-metadata">

**Author:** ![dpradeep5110](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dpradeep5110/32/41314_2.png) [@dpradeep5110](https://forum.dynamobim.com/u/dpradeep5110)\
**Post date:** [December 7, 2017, 9:25am UTC](https://forum.dynamobim.com/t/how-to-get-x-y-z-point-from-wall/17146/7 "2017-12-07T09:25:04Z")

</div>

Hi Dimitar,  
I am not going in that way. I am simply subtract the space centre coordinates point and element points. Then I multiply the output into 2. Finally I added the space coordinates point and multiplies outputs. The elements are placed in opposite side of the wall but know I mirror a family based on previous elements.
