# Code Block Bug?

**URL:** <https://forum.dynamobim.com/t/code-block-bug/1123>\
**Category:** Packages\
**Created:** [February 24, 2015, 3:27pm UTC](https://forum.dynamobim.com/t/code-block-bug/1123 "2015-02-24T15:27:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_DeYoung1](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Brian\_DeYoung1](https://forum.dynamobim.com/u/Brian_DeYoung1)\
**Post date:** [February 24, 2015, 3:27pm UTC](https://forum.dynamobim.com/t/code-block-bug/1123/1 "2015-02-24T15:27:06Z")

</div>

I’m trying to call other nodes in a code block, but it seems that any time I try this I get the same error “Dereferncing a non-pointer.” I figured I was doing something wrong, so I opened the training file on code blocks thinking that file must work, but I get the same error messages in that file as well. Is this a bug in code blocks? The attached image is from the training file I download from the site.

![Code Block Error](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/c/cadb398dfe6a10f71e2afc63c1b489d7e03b330b.jpg)

&nbsp;

---

<div class="post-metadata">

**Author:** ![Colin\_McCrone](https://avatars.discourse-cdn.com/v4/letter/c/91b2a8/32.png) [@Colin\_McCrone](https://forum.dynamobim.com/u/Colin_McCrone)\
**Post date:** [February 24, 2015, 5:02pm UTC](https://forum.dynamobim.com/t/code-block-bug/1123/2 "2015-02-24T17:02:53Z")

</div>

We have a current issue being addressed that namespaces can get mixed up. That is–if you have something like Rhynamo installed, then there is more than one “Point” class–one from the geometry library and one from Rhynamo, so the Code Block can’t execute. Until a solution is implemented, you might have to uninstall Rhynamo or other packages that use loaded libraries if you would like to use code blocks.

---

<div class="post-metadata">

**Author:** ![Brian\_DeYoung1](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Brian\_DeYoung1](https://forum.dynamobim.com/u/Brian_DeYoung1)\
**Post date:** [February 24, 2015, 5:58pm UTC](https://forum.dynamobim.com/t/code-block-bug/1123/3 "2015-02-24T17:58:45Z")

</div>

Thanks Colin

---

<div class="post-metadata">

**Author:** ![Peter\_Kompolschek](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@Peter\_Kompolschek](https://forum.dynamobim.com/u/Peter_Kompolschek)\
**Post date:** [February 25, 2015, 4:41am UTC](https://forum.dynamobim.com/t/code-block-bug/1123/4 "2015-02-25T04:41:29Z")

</div>

if you have rhynamo or similar installed you have to use the full name of build in functions. ![rhynamo](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/2/21454c223c1f0c296b2cef28db1dcabdd78a0bb7.png)

not a solution but a workaround:
