I’m trying to filter intersecting walls to copy a few parameter values from a linked model to my own, but something went wrong and I got this warning:
Unable to cast object of type 'Autodesk.Revit.DB.Wall' to type 'Autodesk.Revit.DB.RevitLinkInstance'.
Here’s the entire sequence: