IPerformanceAdviserRule Interface

Base class to derive specific performance adviser rules from.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public interface IPerformanceAdviserRule

The IPerformanceAdviserRule type exposes the following members.

Methods
 NameDescription
Public methodExecuteElementCheck Invoked by performance advisor for each element to be checked.
Public methodFinalizeCheck Invoked by performance advisor once in the end of the check.
Public methodGetDescription Retrieves the description of the rule.
Public methodGetElementFilter Retrieves a filter to restrict elements to be checked.
Public methodGetName Retrieves the name of the rule.
Public methodInitCheck Invoked by performance advisor once in the beginning of the check. If rule checks document as a whole, the check can be performed in this method.
Public methodWillCheckElements Reports if rule needs to be executed on individual elements.
Top
See Also