GetAncillaryGroupName Method


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

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

Syntax

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

Parameters

ancillaryId
Type: SystemInt32
The fabrication ancillary database identifier of the ancillary.

Return Value

The group and name of the ancillary.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException The ancillary 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 →