GetAncillaries Method


Gets fabrication ancillaries of the specified type.

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 IList<int> GetAncillaries(
	FabricationAncillaryType type,
	bool includeKits,
	bool filterKits
)
Visual Basic
Public Function GetAncillaries ( _
	type As FabricationAncillaryType, _
	includeKits As Boolean, _
	filterKits As Boolean _
) As IList(Of Integer)
Visual C++
public:
IList<int>^ GetAncillaries(
	FabricationAncillaryType type, 
	bool includeKits, 
	bool filterKits
)

Parameters

type
Type: Autodesk.Revit.DB.FabricationFabricationAncillaryType
The type of ancillaries to get.
includeKits
Type: SystemBoolean
Whether or not to include ancillary kits as well.
filterKits
Type: SystemBoolean
Whether kits should be filtered to only those that contain the specified ancillary type.

Return Value

An array of ancillary identifiers.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

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 →