Creates a filter rule that determines whether an element's parameter has a value.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static FilterRule CreateHasValueParameterRule( ElementId parameter )
Parameters
- parameter ElementId
- The parameter to be evaluated by the filter.
Return Value
FilterRuleExceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |