Revit 2025.3 API
Performance |
Retrieves the name of the rule.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.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