replaced Revit 2020 SDK by Revit 2021 SDK

This commit is contained in:
Jeremy Tammik
2020-05-11 14:07:56 +02:00
parent 06ba6e0541
commit 64f8b0ed3e
250 changed files with 1225 additions and 1496 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ namespace Revit.SDK.Samples.LevelsProperty.CS
System.String lastLevelName = lastItem.Name;
double lastLevelElevation = lastItem.Elevation;
newLevelName = lastLevelName + "'";
newLevelElevation = lastLevelElevation + Unit.CovertFromAPI(m_objectReference.UnitType, 10);
newLevelElevation = lastLevelElevation + Unit.CovertFromAPI(m_objectReference.UnitTypeId, 10);
}
else