ElementTransformUtils - Copy Elements Method

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:

The result:

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

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:


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:


Any help is appreciated.