mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-10 22:06:41 +00:00
replaced Revit 2020 SDK by Revit 2021 SDK
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user