Revit.DB Assembly

Visual Studio 2019 says I might be missing the Assembly for Autodesk.Revit.DB, I tried adding the Revit.SDK with the Nuget Manager, but I still haven’t found any that list Revit.DB I know some of the API was renamed to Forge, but I haven’t spotted it listed on any of the Forge Packages either. Has it been renamed or am I looking in the wrong place?


You are missing your namespace declaration within your code.

using Autodesk.Revit.DB;

namespace "YourProjectName"
{
    public FabDimData : WallDimensioningData
    {
    
    }
}

the lack of a namespace is peculiar…
unfortunately, that was not the issue.
the Revit.DB I’ve been looking for was in the RevitAPI.dll apparently



1 Like

I assumed the SDK nuget would have included those which is why I hadn’t suggested to import the reference. Glad you got it resolved though.

2 Likes