Revit 2026 API
SubelementHas |
Checks if this subelement have given parameter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.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