Revit 2025.3 API
SubelementHas |
Checks if this subelement have given parameter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool HasParameter( ElementId parameterId )
Public Function HasParameter ( parameterId As ElementId ) As Boolean
public: bool HasParameter( ElementId^ parameterId )
member HasParameter : parameterId : ElementId -> bool
Parameters
- parameterId ElementId
- Parameter id.
Return Value
BooleanTrue if %parameterId% identifies valid parameter of this subelement, false otherwise.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also