HasValueFilterRule
Description:
Tests whether an element's parameter has a value.
Tests whether an element's parameter has a value.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.FilterRule
Autodesk.Revit.DB.ParameterValuePresenceRule
Autodesk.Revit.DB.HasValueFilterRule
System.Object
Autodesk.Revit.DB.FilterRule
Autodesk.Revit.DB.ParameterValuePresenceRule
Autodesk.Revit.DB.HasValueFilterRule
public class HasValueFilterRule : ParameterValuePresenceRule
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| HasValueFilterRule(ElementId) | None | constructs an instance of HasValueFilterRule. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the | FilterRule |
| ElementPasses(Element) | bool | Derived classes override this method to implement the test that determines whether the given element passes this rule or not. | FilterRule |
| GetRuleParameter() | ElementId | Returns the ElementId of the parameter associated to this FilterRule if there is one, or invalidElementId if there is no associated parameter. | FilterRule |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | FilterRule |
| Parameter | ElementId | The parameter which will be evaluated to pass this rule. | ParameterValuePresenceRule |