Greetings!
I am trying to convert a SpeckleObject to a Revit type. Everything i have seen is to use the ConvertToNative. Our workflow is Blazor webpage sending JSON to our Revit Addin, deserializing that JSON and then converting to a Revit element or object that can be placed into a Revit file.
However, everything i am seeing online is to use the Speckle.Object.Converter namespace or Connector and I cannot seem to get those to work. Here are the packages I have installed:
<PackageReference Include="RevitSharedResources2023" Version="2.20.0" />
<PackageReference Include="Speckle.Core" Version="2.20.0" />
<PackageReference Include="Speckle.DesktopUI" Version="2.20.0" />
<PackageReference Include="Speckle.Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Speckle.Objects" Version="2.20.0" />
<PackageReference Include="Speckle.Objects.Converter.Revit2023" Version="2.20.0" />
<PackageReference Include="Speckle.Revit.API" Version="2023.0.0" />
<PackageReference Include="Speckle.Transports.Disk" Version="2.20.0" />
Here is the NuGet manager Installed. I have confirmed these are installed on the proper csproj file.
But i cannot seem to find the right “using” statement. All that is showing as available is Speckle.Core, netDxf, and Newtonsoft. I cannot find .Objects, .Converters, or .Connector.
I must be doing something wrong as I am seeing others post about the Converter and Connector (even if it is Unity instead of Revit.
I have cleaned and rebuilt the solution, restarted my computer. Any help is appreciated! Thanks.