Skip to content

IPerformanceAdviserRule

Public 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

Name

Description


Public Method

Invoked by performance advisor for each element to be checked.


Public Method

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

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

Reports if rule needs to be executed on individual elements.