# Archi-lab breaks native codeblock references

**URL:** <https://forum.dynamobim.com/t/archi-lab-breaks-native-codeblock-references/19868>\
**Category:** Packages\
**Tags:** archi-lab\
**Created:** [March 9, 2018, 8:22pm UTC](https://forum.dynamobim.com/t/archi-lab-breaks-native-codeblock-references/19868 "2018-03-09T20:22:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Shaver](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@Jeff\_Shaver](https://forum.dynamobim.com/u/Jeff_Shaver)\
**Post date:** [March 9, 2018, 8:22pm UTC](https://forum.dynamobim.com/t/archi-lab-breaks-native-codeblock-references/19868/1 "2018-03-09T20:22:23Z")

</div>

With the latest archi-lab package installed the native “FamilyInstance.ByPoint” will not function in a codeblock and if you try to turn the native “FamilyInstance.ByPoint” into a codeblock via the “NodeToCode” option Dynamo will crash.

I suspect the package recycles some reference names that shouldn’t be duplicated. Pulling the package fixes the problem.

---

<div class="post-metadata">

**Author:** ![Konrad\_K\_Sobon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/konrad_k_sobon/32/8838_2.png) [@Konrad\_K\_Sobon](https://forum.dynamobim.com/u/Konrad_K_Sobon)\
**Post date:** [March 21, 2018, 4:26pm UTC](https://forum.dynamobim.com/t/archi-lab-breaks-native-codeblock-references/19868/2 "2018-03-21T16:26:25Z")

</div>

The issue is that Dynamo doesn’t currently know what to do with namespaces and classes that use the same name. So there is a class in [archi-lab.net](http://archi-lab.net) that’s called FamilyInstance and it creates family instances by line. There is also a class in dynamoRevit called FamilyInstance and that causes confusion as to which one to use when the code block searches for references. I will rename mine to something else and it should be good. It will be fixed in [archi-lab.net](http://archi-lab.net) 2018.0.9.

---

<div class="post-metadata">

**Author:** ![Jeff\_Shaver](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@Jeff\_Shaver](https://forum.dynamobim.com/u/Jeff_Shaver)\
**Post date:** [March 21, 2018, 5:40pm UTC](https://forum.dynamobim.com/t/archi-lab-breaks-native-codeblock-references/19868/3 "2018-03-21T17:40:51Z")

</div>

Thanks Konrad!
