I am trying to use BoundingBox.GetElementsInstersect to identify elements intesecting or inside a bounding box drawn around a duct. But I keep getting the warning message
“Warning: BoundingBox.GetElementsIntersect operation failed. Unable to load type ‘Autodex.Revit.DB.DisplayUnitType’ from assembly ‘RevitAPI, Version=184.108.40.206, Culture=neutral, PublicKeyToken=null’.”
I read that this can be due to API changes in Revit. Is there a solution to this warning?