IPerformanceAdviserRule
Public Interface
Public Method
Public Method
Public Method
GetDescription
Public Method
GetElementFilter
Public Method
GetName
Public Method
Public Method
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 IPerformanceAdviserRuleThe IPerformanceAdviserRule type exposes the following members.
Methods
Name
Description
Public Method
ExecuteElementCheck
Invoked by performance advisor for each element to be checked.
Public Method
FinalizeCheck
Invoked by performance advisor once in the end of the check.
Public Method
GetDescription
Retrieves the description of the rule.
Public Method
GetElementFilter
Retrieves a filter to restrict elements to be checked.
Public Method
GetName
Retrieves the name of the rule.
Public Method
InitCheck
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 Method
WillCheckElements
Reports if rule needs to be executed on individual elements.