Gets the ForgeTypeId identifying the spec corresponding to the given ParameterType value.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2022
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- parameterType
- Type: Autodesk.Revit.DB ParameterType
The ParameterType value.
Return Value
Identifier of the spec corresponding to the given ParameterType value.Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |