# ElementTransformUtils - Copy Elements Method

**URL:** <https://forum.dynamobim.com/t/elementtransformutils-copy-elements-method/65537>\
**Category:** Developers\
**Tags:** python\
**Created:** [June 25, 2021, 3:00pm UTC](https://forum.dynamobim.com/t/elementtransformutils-copy-elements-method/65537 "2021-06-25T15:00:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Helmy000](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@Helmy000](https://forum.dynamobim.com/u/Helmy000)\
**Post date:** [June 25, 2021, 3:00pm UTC](https://forum.dynamobim.com/t/elementtransformutils-copy-elements-method/65537/1 "2021-06-25T15:00:00Z")

</div>

Hi everyone,

Im having a problem with copying elements from a document to another document in Revit and was wondering if anyone has had a similar experience.

The python script I am using:

 ![241](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/3/93e12d052591d18f98d434a09fee1527e559ee12.png)

The result:

“Some of the elements cannot be copied, because they belong to a different view”

---

<div class="post-metadata">

**Author:** ![architectcoding](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/architectcoding/32/105118_2.png) [@architectcoding](https://forum.dynamobim.com/u/architectcoding)\
**Post date:** [June 26, 2021, 1:55am UTC](https://forum.dynamobim.com/t/elementtransformutils-copy-elements-method/65537/2 "2021-06-26T01:55:48Z")

</div>

Hi, welcome to the forum!

Well, as the error explicitly states, you are trying to copy elements that cannot be copied to another document view without specifying the destination view. This most likely happens when copying annotation elements. Filter them out or try this method if you need the annotation elements:

[https://www.revitapidocs.com/2016/0f6a7a2e-13b9-008a-4c41-951a0702d16b.htm](https://www.revitapidocs.com/2016/0f6a7a2e-13b9-008a-4c41-951a0702d16b.htm)

---

<div class="post-metadata">

**Author:** ![Helmy000](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@Helmy000](https://forum.dynamobim.com/u/Helmy000)\
**Post date:** [June 28, 2021, 11:35am UTC](https://forum.dynamobim.com/t/elementtransformutils-copy-elements-method/65537/3 "2021-06-28T11:35:15Z")

</div>

I got it to work from one document to the other, the issue was elemsout instead of elemsOut. I think my other issue now is getting items from a family to a drafting view using the CopyElements method below:

[https://www.revitapidocs.com/2016/b22df8f6-3fa3-e177-ffa5-ba6c639fb3dc.htm](https://www.revitapidocs.com/2016/b22df8f6-3fa3-e177-ffa5-ba6c639fb3dc.htm)

Any help is appreciated.

Thanks
