# Code block and python script

**URL:** <https://forum.dynamobim.com/t/code-block-and-python-script/8212>\
**Category:** FAQ\
**Created:** [December 13, 2016, 12:45pm UTC](https://forum.dynamobim.com/t/code-block-and-python-script/8212 "2016-12-13T12:45:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [December 13, 2016, 12:45pm UTC](https://forum.dynamobim.com/t/code-block-and-python-script/8212/1 "2016-12-13T12:45:30Z")

</div>

Can anybody advice about this issue ? (Dynamo 1.2 and Revit 2017)

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/c/0cc7d56e4dc1d5a27863e27400246b35ecf1bdc2.JPG)

thank you

---

<div class="post-metadata">

**Author:** ![jostein\_olsen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jostein_olsen/32/8570_2.png) [@jostein\_olsen](https://forum.dynamobim.com/u/jostein_olsen)\
**Post date:** [December 13, 2016, 12:56pm UTC](https://forum.dynamobim.com/t/code-block-and-python-script/8212/2 "2016-12-13T12:56:50Z")

</div>

> [@Dead Code Block Nodes in D4R](https://forum.dynamobim.com/t/dead-code-block-nodes-in-d4r/8132):
>
> 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…

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [December 14, 2016, 4:54am UTC](https://forum.dynamobim.com/t/code-block-and-python-script/8212/3 "2016-12-14T04:54:31Z")

</div>

Thank you
