DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
334 stars 187 forks source link

DynamoMapsNodesFunctions.LiveFootprint operation failed #2786

Open Yurrey opened 2 years ago

Yurrey commented 2 years ago

I used Dynamaps to make a site in my project but already the first step is giving me this issue: DynaMapsNodesFunctions.LiveFootPrint operation failed. Could not load type 'Autodesk.Revit.DB.DisplayUnitType' from assembly 'RevitAPI, Version=22.0.0.0, Culture=neutral, PublicKeyToken=null'. Does anyone have a solution for this? image

QilongTang commented 2 years ago

@ZiyunShang @saintentropy Is that type removed in newer version of Revit?

ZiyunShang commented 2 years ago

Hi @Yurrey @QilongTang , yes, the type "DisplayUnitType" was removed since Revit 2022. It should be replaced by Autodesk.Revit.DB.ForgeTypeId.

QilongTang commented 2 years ago

Hi @Yurrey @QilongTang , yes, the type "DisplayUnitType" was removed since Revit 2022. It should be replaced by Autodesk.Revit.DB.ForgeTypeId.

Thanks. In this case, @Yurrey you can still use it in older version of Revit. I think for newer version, we will need to ask the maintainer to update the package. @Amoursol any idea who that would be?