Where to find Revit.Elements namespace for wrapping Autodesk.Revit.DB.Element

I’ve been trying all day to create a Zero-touch C# plugin that takes an Ceiling as input. But getting the warning in dynamo that it needs to be of type Autodesk.Revit.DB.Element and in dynamo it’s Revit.Elements.Element.

Where do I find the dll that contains Revit.Elements? Some say it’s in some dynamo library, but which?

I’ve read so many guides about this but none of them shows how to find the Revit.Elements to use. I’m using Revit 2025, is it some new update that changes all of this, or what do I miss out on?

1 Like

Sounds like you’re missing a reference - I recommend you follow this tutorial entirely, but the linked section in particular should get you over the hurdle.

Likely references to RevitNodes and RevitServices being the missing components.

Thank you very much! I’ve solved it now. All guides including this one isn’t really up to date so i needed to dig a bit extra since I’m using Revit 2025. If someone else hasn’t found RevitNodes and RevitServices it’s located under Revit installfolder “Revit 2025\AddIns\DynamoForRevit\Revit”