Problem with copying elements from linked document

Hello everybody

I am trying to copy a large quantity of walls from a linked document into the current project. Unfortunately I get the following error message:

The call can not clearly differentiate between the following methods or properties: Revit.Elements.ElementWrapper.Wrap(Autodesk.Revit.DB.Material, bool) and Revit.Elements.ElementWrapper.Wrap(Autodesk.Revit.DB.FamilyInstance, bool) (rough translation from german)

This is how I try to copy:

The python script simply unwraps the elements as an attempt to fix the problem, but it did not work.

For smaller projects with only a couple walls this works perfectly, but as in this project there are over 1000 walls, it fails.

I would be grateful for any help. Thank you!

1 Like