# Error familyinstance.byface

**URL:** <https://forum.dynamobim.com/t/error-familyinstance-byface/81638>\
**Category:** Revit\
**Tags:** revit, excel, dynamo\
**Created:** [September 30, 2022, 4:06am UTC](https://forum.dynamobim.com/t/error-familyinstance-byface/81638 "2022-09-30T04:06:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vcolonio\_b](https://avatars.discourse-cdn.com/v4/letter/v/2bfe46/32.png) [@vcolonio\_b](https://forum.dynamobim.com/u/vcolonio_b)\
**Post date:** [September 30, 2022, 4:06am UTC](https://forum.dynamobim.com/t/error-familyinstance-byface/81638/1 "2022-09-30T04:06:03Z")

</div>

Hello everyone,  
I’m trying to solve this little problem but I still can’t find a solution, I hope someone can help me with this.  
I have created a project where I have different floor levels and I am trying to put elements such as lamps on its surface, however every time I run the sequence it throws me an error that I do not understand how to solve.  
I tried to change the family but the result is still the same, I tried to use the “FamilyInstance.bypoint” node but it only works with families without a host, for this project I need to use face type families.

 ![Captura de pantalla 2022-09-29 225106](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/6/96e07051f9ff0b47e474baf8c1ffe0021aba2c5f.png)  
 ![Captura de pantalla 2022-09-29 225229](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/b/0bdfe58280a6a5b7553d4fe8ad1dd94ad221c247.png)  
 ![Captura de pantalla 2022-09-29 225711](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/f/0fad4e424d00c28f49187e847c9c4a8fe3342d1d.png)

---

<div class="post-metadata">

**Author:** ![PrPr](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@PrPr](https://forum.dynamobim.com/u/PrPr)\
**Post date:** [September 30, 2022, 6:20am UTC](https://forum.dynamobim.com/t/error-familyinstance-byface/81638/2 "2022-09-30T06:20:02Z")

</div>

did you try to flatt output of:  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/2/328820e79ce5fb1285460ab9b49a3e35281e7adb.png)

---

<div class="post-metadata">

**Author:** ![vcolonio\_b](https://avatars.discourse-cdn.com/v4/letter/v/2bfe46/32.png) [@vcolonio\_b](https://forum.dynamobim.com/u/vcolonio_b)\
**Post date:** [October 1, 2022, 2:01am UTC](https://forum.dynamobim.com/t/error-familyinstance-byface/81638/3 "2022-10-01T02:01:31Z")

</div>

Hi, thank you for you answer  
Even if I put the flatten node, it keeps returning an error

 ![Captura de pantalla 2022-09-30 210055](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/0/00e74306da24b9cbbdee895278ec9ed56c0fdd49.png)

---

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [October 1, 2022, 3:43pm UTC](https://forum.dynamobim.com/t/error-familyinstance-byface/81638/4 "2022-10-01T15:43:59Z")

</div>

Hi @vcolonio_b ,

I don’t think the FamilyInstance.ByFace node accepts Dynamo Surfaces as Face input. I think you have to supply Revit Face(s). (I am not 100% sure about this though)

* * *

If that didn’t work, please see this:

The error-message in the node on your first post states that the Reference is from a different document. So:

- Are your floors from a linked or referenced model?
- Can you place host-based families through Revit, without Dynamo, or does that also not work?

Also, if your floors aren’t from a linked model could you perhaps share a small sample Revit model together with your Dynamo script? It’s a lot easier to troubleshoot hands-on.

---

<div class="post-metadata">

**Author:** ![vcolonio\_b](https://avatars.discourse-cdn.com/v4/letter/v/2bfe46/32.png) [@vcolonio\_b](https://forum.dynamobim.com/u/vcolonio_b)\
**Post date:** [October 1, 2022, 5:46pm UTC](https://forum.dynamobim.com/t/error-familyinstance-byface/81638/5 "2022-10-01T17:46:27Z")

</div>

Thank you for your reply Daan.  
I used clockwork node \> “Element.FromDynamoSurface” but it keeps returning error.  
I send you my files so you can view it.  
regarding the questions

- my flats are from a linked model

- Yes I can place “host” based families through Revit

[DWG Luminaires. Floor.dyn](https://forum.dynamobim.com/uploads/short-url/dHxrTFVeOEdxUIqDBA5RuiMH7hO.dyn) (54.7 KB)  
[LUMINARIA 4TO.dwg](https://forum.dynamobim.com/uploads/short-url/jx1nxbwaQZGfCwZdRkNMZwHXQPO.dwg) (2.2 MB)  
Uploading: Test Model 2 (link 1).rvt…  
Uploading: Test Model 1 to link.rvt…

---

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [October 1, 2022, 7:06pm UTC](https://forum.dynamobim.com/t/error-familyinstance-byface/81638/6 "2022-10-01T19:06:11Z")

</div>

Could you reupload your Revit files? The uploading wasn’t quite finished.

---

<div class="post-metadata">

**Author:** ![vcolonio\_b](https://avatars.discourse-cdn.com/v4/letter/v/2bfe46/32.png) [@vcolonio\_b](https://forum.dynamobim.com/u/vcolonio_b)\
**Post date:** [October 1, 2022, 8:07pm UTC](https://forum.dynamobim.com/t/error-familyinstance-byface/81638/7 "2022-10-01T20:07:49Z")

</div>

a mistake of mine  
[Test Model 2 (link 1).rvt](https://forum.dynamobim.com/uploads/short-url/5pmXVlKdD6NA0yXaXgvMuC90HBX.rvt) (5.7 MB)  
[Test Model 1 to link.rvt](https://forum.dynamobim.com/uploads/short-url/dL8u6izv8C8c3UEQnqBCT105CRW.rvt) (4.3 MB)

---

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [October 1, 2022, 8:09pm UTC](https://forum.dynamobim.com/t/error-familyinstance-byface/81638/8 "2022-10-01T20:09:19Z")

</div>

I’ll take a look tomorrow or later this week. If you feel like I have forgotten to take a look please bump me.

---

<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:** [October 2, 2022, 5:20am UTC](https://forum.dynamobim.com/t/error-familyinstance-byface/81638/9 "2022-10-02T05:20:24Z")

</div>

Hello @vcolonio_b if the floor is on link then use Bimorph link element faces it should work something hre should work in you case on link

 ![Capture.PNG](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/9/192794b003e409e3864b71e84e0e448800750e6e.jpeg)

 ![1Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/3/936fb6e36cf529fb557444a49ae1db740211a530.png)
