Hi,
when getting TypeId from shared Parameter I get this value: revit.local.shared:4c9f98a19df44a2d80288eb88f9c5a59-1.0.0
But is it possible to get Shared Parameter value back from the TypeId ?
I use this to get parameter value from BuiltIn Parameters TypeId.
private static string GetParameterValueFromForgeTypeId(string parameterTypeId)
{
string parameterValue = "";
ForgeTypeId parameterForgeTypeId = new ForgeTypeId(parameterTypeId);
Parameter parameter = _element.GetParameter(parameterForgeTypeId);
if (parameter != null)
parameterValue = parameter.AsValueString();
return parameterValue;
}
I know that I can get shared parameter value from GUID, but the value revit.local.shared:4c9f98a19df44a2d80288eb88f9c5a59-1.0.0 almost seems as unique as GUID. maybe I can skip the GUID and get the value somehow from this TypeId ?
Thanks!