Getting intersecting elements of category Link Option

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:

I am not familiar with that node, but it looks like you should just put the LinkInstance directly into it and not Walls from the link, I think that’s why you give it a category.

1 Like

You got it! Thanks a lot.

1 Like