ParameterUtils.GetBuiltInParameterGroup
Description:
Gets the BuiltInParameterGroup value corresponding to built-in parameter group identified by the given ForgeTypeId.
Gets the BuiltInParameterGroup value corresponding to built-in parameter group 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 'BuiltInParameterGroup' enumeration to the ForgeTypeId class.")]
public static BuiltInParameterGroup GetBuiltInParameterGroup(
ForgeTypeId groupTypeId
)
-
groupTypeIdThe parameter group identifier.
Return Value
BuiltInParameterGroup
The BuiltInParameterGroup value corresponding to the given parameter group identifier.
-
groupTypeId is not a built-in parameter group identifier. See IsBuiltInParameterGroup(ForgeTypeId) and GetParameterGroupTypeId(BuiltInParameter).
-
A non-optional argument was NULL