# Dead Code Block Nodes in D4R

**URL:** <https://forum.dynamobim.com/t/dead-code-block-nodes-in-d4r/8132>\
**Category:** FAQ\
**Tags:** revit, codeblock\
**Created:** [December 9, 2016, 2:50pm UTC](https://forum.dynamobim.com/t/dead-code-block-nodes-in-d4r/8132 "2016-12-09T14:50:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Incentive](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/incentive/32/11494_2.png) [@Incentive](https://forum.dynamobim.com/u/Incentive)\
**Post date:** [December 9, 2016, 2:50pm UTC](https://forum.dynamobim.com/t/dead-code-block-nodes-in-d4r/8132/1 "2016-12-09T14:50:31Z")

</div>

When using Dynamo for Revit if you experience Code Block Nodes that you can not edit the root cause may be a collision with another instance of the AvalonEdit Open Source component: ICSharpCode.AvalonEdit.dll, found in the Dynamo Core folder under Program Files and also under the Revit SDA folder. Revit Addins may pull in their own version of the dll as well, for example DisplayBindings.

A suggested workaround is to simply rename the Dynamo version of the dll so that Dynamo is forced to use the other installed one. We do not know of any adverse effects to using this workaround until we fully solve the issue.

---

<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 10, 2016, 4:30am UTC](https://forum.dynamobim.com/t/dead-code-block-nodes-in-d4r/8132/2 "2016-12-10T04:30:49Z")

</div>



---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [December 20, 2016, 8:04pm UTC](https://forum.dynamobim.com/t/dead-code-block-nodes-in-d4r/8132/3 "2016-12-20T20:04:46Z")

</div>

Hmm, this fix didn’t seem to do it for me. Filed here [https://github.com/DynamoDS/DynamoRevit/issues/1432](https://github.com/DynamoDS/DynamoRevit/issues/1432)

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [December 20, 2016, 8:26pm UTC](https://forum.dynamobim.com/t/dead-code-block-nodes-in-d4r/8132/4 "2016-12-20T20:26:09Z")

</div>

This update fixed this issue for me!  
 ![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/3X/c/8/c8cf27461d91b968f2850c3a3a31fb7be7baf8f8.png)

---

<div class="post-metadata">

**Author:** ![Greg\_McDowell](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/greg_mcdowell/32/21011_2.png) [@Greg\_McDowell](https://forum.dynamobim.com/u/Greg_McDowell)\
**Post date:** [January 6, 2017, 4:26pm UTC](https://forum.dynamobim.com/t/dead-code-block-nodes-in-d4r/8132/5 "2017-01-06T16:26:28Z")

</div>

That’s the build I’m on and I’m still having problems with this. I’ll try reinstalling the update.

edit - working now - I suspect a recent reinstall of Dynamo reinstalled that DLL - killing it fixed it for me

---

<div class="post-metadata">

**Author:** ![cansu\_yeni](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cansu_yeni/32/10559_2.png) [@cansu\_yeni](https://forum.dynamobim.com/u/cansu_yeni)\
**Post date:** [February 24, 2017, 11:49am UTC](https://forum.dynamobim.com/t/dead-code-block-nodes-in-d4r/8132/6 "2017-02-24T11:49:08Z")

</div>

I also faced the same problem in Dynamo v1.2.3. I had to go back to the previous version.

---

<div class="post-metadata">

**Author:** ![Neil\_Reilly](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/neil_reilly/32/10277_2.png) [@Neil\_Reilly](https://forum.dynamobim.com/u/Neil_Reilly)\
**Post date:** [May 30, 2017, 6:33pm UTC](https://forum.dynamobim.com/t/dead-code-block-nodes-in-d4r/8132/7 "2017-05-30T18:33:30Z")

</div>

Worked like a charm. Thanks.
