SpecUtils.GetSpecTypeId
Description:
Gets the ForgeTypeId identifying the spec corresponding to the given ParameterType value.
Gets the ForgeTypeId identifying the spec corresponding to the given ParameterType value.
[ObsoleteAttribute("This method is deprecated in Revit 2022 and may be removed in a future version of Revit. It will not be replaced, but until its removal it may be used to help migrate code that uses the 'ParameterType' enumeration to the ForgeTypeId class.")]
public static ForgeTypeId GetSpecTypeId(
ParameterType parameterType
)
-
parameterTypeThe ParameterType value.
-
A value passed for an enumeration argument is not a member of that enumeration