GetDamperName Method


Gets the damper name from its identifier.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since: 2017 Subscription Update

Syntax

C#
public string GetDamperName(
	int damperId
)
Visual Basic
Public Function GetDamperName ( _
	damperId As Integer _
) As String
Visual C++
public:
String^ GetDamperName(
	int damperId
)

Parameters

damperId
Type: System Int32
The damper identifier.

Return Value

The damper name.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException The damper does not exist.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →