mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-27 05:00:48 +00:00
updated to Revit 2023 SDK
This commit is contained in:
@@ -99,7 +99,7 @@ namespace Revit.SDK.Samples.ObjectViewer.CS
|
||||
//get value with unit, AsDouble() can get value without unit
|
||||
return parameter.AsValueString();
|
||||
case StorageType.ElementId:
|
||||
return parameter.AsElementId().IntegerValue.ToString();
|
||||
return parameter.AsElementId().ToString();
|
||||
case StorageType.Integer:
|
||||
//get value with unit, AsInteger() can get value without unit
|
||||
return parameter.AsValueString();
|
||||
|
||||
Reference in New Issue
Block a user