Revit 2026 API
Performance |
Retrieves the name of the rule.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public string GetRuleName( PerformanceAdviserRuleId id )
Public Function GetRuleName ( id As PerformanceAdviserRuleId ) As String
public: String^ GetRuleName( PerformanceAdviserRuleId^ id )
member GetRuleName : id : PerformanceAdviserRuleId -> string
Parameters
- id PerformanceAdviserRuleId
- The rule id to get information for.
Return Value
StringThe name of the rule.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also