IsAncillaryKit Method


Gets whether the specified fabrication ancillary identifier is an ancillary kit or not.

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 bool IsAncillaryKit(
	int ancillaryId
)
Visual Basic
Public Function IsAncillaryKit ( _
	ancillaryId As Integer _
) As Boolean
Visual C++
public:
bool IsAncillaryKit(
	int ancillaryId
)

Parameters

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

Return Value

Returns true if the ancillary is a kit.

Exceptions

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

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →