# I would like to place switch on face of each Mechanical Equipment (FCU unit) in my project

**URL:** <https://forum.dynamobim.com/t/i-would-like-to-place-switch-on-face-of-each-mechanical-equipment-fcu-unit-in-my-project/102424>\
**Category:** Revit\
**Tags:** mep, python, dynamo\
**Created:** [July 3, 2024, 7:41am UTC](https://forum.dynamobim.com/t/i-would-like-to-place-switch-on-face-of-each-mechanical-equipment-fcu-unit-in-my-project/102424 "2024-07-03T07:41:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam\_robert\_luis](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sam\_robert\_luis](https://forum.dynamobim.com/u/sam_robert_luis)\
**Post date:** [July 3, 2024, 7:41am UTC](https://forum.dynamobim.com/t/i-would-like-to-place-switch-on-face-of-each-mechanical-equipment-fcu-unit-in-my-project/102424/1 "2024-07-03T07:41:04Z")

</div>

Hi guys, thank you for your amazing support in growing this community. I am new to Dynamo and I am struggling to get this script right. Please help me with the following:

I am trying to place switches to my FCU mechanical units by selecting all. Two difficulties I am facing: [script screenshot attached]

1. The switch is getting placed on the bottom of the FCU with the face upside down. The switch is suppose to get hosted by the FCU.

2. Later, when I am trying to change the workplane to a new one, it does not allow me to do so. [screenshot attached]

Please help me in getting at least proper placement of switch.

 ![1-Placement Error](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/f/3f672b0dc900e2ed00f97eb5f01415b7a85cbbfa.png)

---

<div class="post-metadata">

**Author:** ![Andriy](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@Andriy](https://forum.dynamobim.com/u/Andriy)\
**Post date:** [July 3, 2024, 5:03pm UTC](https://forum.dynamobim.com/t/i-would-like-to-place-switch-on-face-of-each-mechanical-equipment-fcu-unit-in-my-project/102424/2 "2024-07-03T17:03:43Z")

</div>

Hi there. Is your switch family is face based?

I think currently you’re using wrong node for placing family instances. Try Familyinstance.ByFace. Then family will get proper host.

Second thing. If you want to control to which face you want to host switch, you’ll have to get element.faces from mech equipment, and then filter out needed face for each element

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [July 3, 2024, 6:19pm UTC](https://forum.dynamobim.com/t/i-would-like-to-place-switch-on-face-of-each-mechanical-equipment-fcu-unit-in-my-project/102424/3 "2024-07-03T18:19:54Z")

</div>

Hello @sam_robert_luis and welcome 😉 yeah sounds you need family.instance.byface here OOTB with reference or try spring node there dont need reference…  
 ![Revit_bb74rip5MY](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/f/3fb1ba2300366e523d1e923e674c2d0d2f18aa51.gif)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [July 4, 2024, 12:08pm UTC](https://forum.dynamobim.com/t/i-would-like-to-place-switch-on-face-of-each-mechanical-equipment-fcu-unit-in-my-project/102424/5 "2024-07-04T12:08:31Z")

</div>

Hi @sam_robert_luis im not in dyn in the moment, but here is some exemples

 ![Skærmbillede 2024-07-03 205146](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/2/12a2173e3721d832d752f0c27fb7039add11a69d.png)

 ![Skærmbillede 2024-07-03 224232](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/2/c2130b7c3995e599002b08b304fcab17c50bd7d3.png)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [July 4, 2024, 12:23pm UTC](https://forum.dynamobim.com/t/i-would-like-to-place-switch-on-face-of-each-mechanical-equipment-fcu-unit-in-my-project/102424/6 "2024-07-04T12:23:42Z")

</div>

here with nodes…and be sure your family is facebased

 ![Skærmbillede 2024-07-04 142152](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/9/c9351554c0130b68fa03ae4de88cbffe870d6670.png)

[Home.dyn](https://forum.dynamobim.com/uploads/short-url/zyW7xzdS4K4yoqhpENXBqy9qPdu.dyn) (57.9 KB)

---

<div class="post-metadata">

**Author:** ![sam\_robert\_luis](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sam\_robert\_luis](https://forum.dynamobim.com/u/sam_robert_luis)\
**Post date:** [August 5, 2024, 6:52am UTC](https://forum.dynamobim.com/t/i-would-like-to-place-switch-on-face-of-each-mechanical-equipment-fcu-unit-in-my-project/102424/7 "2024-08-05T06:52:34Z")

</div>

Hi @sovitek one error I have been seeing, which is preventing me to place the element on vertical surface. Please let me know what is causing this error.

I tried with X or Y axis, but then the host element does not get placed on the vertical surface.

![new-error](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/d/1df3608fb8782e869122525098f11f4524763c9d.jpeg)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [August 5, 2024, 6:58am UTC](https://forum.dynamobim.com/t/i-would-like-to-place-switch-on-face-of-each-mechanical-equipment-fcu-unit-in-my-project/102424/8 "2024-08-05T06:58:32Z")

</div>

No not sure could you share your family ? and i will take a look later…little bit busy in the moment…cheers

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [August 5, 2024, 8:10am UTC](https://forum.dynamobim.com/t/i-would-like-to-place-switch-on-face-of-each-mechanical-equipment-fcu-unit-in-my-project/102424/9 "2024-08-05T08:10:51Z")

</div>

thanks for your PM but lets continue here instead…as its a open community, where all learn from each other 🙂 but try something here

![QMktw0HWY0](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/9/d98b5a69a5dfefe780602f12e2114d62527c4029.gif)

---

<div class="post-metadata">

**Author:** ![sam\_robert\_luis](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sam\_robert\_luis](https://forum.dynamobim.com/u/sam_robert_luis)\
**Post date:** [August 5, 2024, 8:25am UTC](https://forum.dynamobim.com/t/i-would-like-to-place-switch-on-face-of-each-mechanical-equipment-fcu-unit-in-my-project/102424/10 "2024-08-05T08:25:54Z")

</div>

Thank you so much
