# Python error: document currently modifiable, but not after copy/pasting node

**URL:** <https://forum.dynamobim.com/t/python-error-document-currently-modifiable-but-not-after-copy-pasting-node/34524>\
**Category:** Developers\
**Tags:** revit, python, dynamo\
**Created:** [April 8, 2019, 10:02am UTC](https://forum.dynamobim.com/t/python-error-document-currently-modifiable-but-not-after-copy-pasting-node/34524 "2019-04-08T10:02:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jnoordzij](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jnoordzij/32/32419_2.png) [@jnoordzij](https://forum.dynamobim.com/u/jnoordzij)\
**Post date:** [April 8, 2019, 11:36am UTC](https://forum.dynamobim.com/t/python-error-document-currently-modifiable-but-not-after-copy-pasting-node/34524/2 "2019-04-08T11:36:20Z")

</div>

I did some searching on similar famdoc / EditFamily code snippets. This thread seems interesting. Might be related…

> [@Setting the builtin parameter accessible thru the family editor?](https://forum.dynamobim.com/t/setting-the-builtin-parameter-accessible-thru-the-family-editor/10554/15):
>
> This should do the trick: #Copyright(c) 2017, Konrad K Sobon # @arch\_laboratory, http://archi-lab.net # Import Element wrapper extension methods import clr clr.AddReference("RevitNodes") import Revit clr.ImportExtensions(Revit.Elements) # Import DocumentManager and TransactionManager clr.AddReference("RevitServices") import RevitServices from RevitServices.Persistence import DocumentManager from RevitServices.Transactions import TransactionManager doc = DocumentManager.Instance.CurrentDBDocum…

---

_[View the full topic](https://forum.dynamobim.com/t/python-error-document-currently-modifiable-but-not-after-copy-pasting-node/34524)._
