ParameterUtils.GetBuiltInParameter
Description:
Gets the BuiltInParameter value corresponding to built-in parameter identified by the given ForgeTypeId.
Gets the BuiltInParameter value corresponding to built-in parameter identified by the given ForgeTypeId.
[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 'BuiltInParameter' enumeration to the ForgeTypeId class.")]
public static BuiltInParameter GetBuiltInParameter(
ForgeTypeId parameterTypeId
)
-
parameterTypeIdThe parameter identifier.
Return Value
BuiltInParameter
The BuiltInParameter value corresponding to the given parameter identifier.
-
parameterTypeId is not a built-in parameter identifier. See IsBuiltInParameter(ForgeTypeId) and GetParameterTypeId(BuiltInParameter).
-
A non-optional argument was NULL