Retrieves settings associated with the given parameter from the Parameters Service.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2024
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- parameterTypeId
- Type: Autodesk.Revit.DBForgeTypeId
Parameter identifier.
Return Value
Settings associated with a parameter.Remarks
The settings associated with a parameter definition are accessible only to an authorized user. To retrieve them, the user must be signed in.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsAccessDeniedException | Thrown when the user is not authorized to access the requested information. |
| Autodesk.Revit.ExceptionsArgumentException | Thrown when the given parameter identifier is empty. |
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |
| [!:Autodesk::Revit::Exceptions::NetworkCommunicationError] | Thrown when communication with the Parameters Service is unsuccessful. |
| Autodesk.Revit.ExceptionsResourceNotFoundException | Thrown when the requested parameter is not found. |
| Autodesk.Revit.ExceptionsServerInternalException | Thrown when the Parameters Service reports an internal error. |
| Autodesk.Revit.ExceptionsUnauthenticatedException | Thrown when the user is not signed in. |