Revit 2025.3 API
Shared |
Finds the shared parameter element that corresponds to the given Guid.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static SharedParameterElement Lookup( Document document, Guid guidValue )
Public Shared Function Lookup ( document As Document, guidValue As Guid ) As SharedParameterElement
public: static SharedParameterElement^ Lookup( Document^ document, Guid guidValue )
static member Lookup : document : Document * guidValue : Guid -> SharedParameterElement
Parameters
- document Document
- The document.
- guidValue Guid
- Shared parameter Guid.
Return Value
SharedParameterElementThe retrieved shared parameter instance, or if the matching element is not found.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also