GetAncillaryName Method


Gets the fabrication ancillary name for the specified fabrication ancillary identifier.

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

Syntax

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

Parameters

ancillaryId
Type: System Int32
The fabrication ancillary database identifier of the ancillary.

Return Value

The name of the ancillary.

Exceptions

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

See Also