GetCircuitIdByCell Method


Gets the circuit id for the given slot number

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public ElementId GetCircuitIdByCell(
	int nRow,
	int nCol
)
Visual Basic
Public Function GetCircuitIdByCell ( _
	nRow As Integer, _
	nCol As Integer _
) As ElementId
Visual C++
public:
ElementId^ GetCircuitIdByCell(
	int nRow, 
	int nCol
)

Parameters

nRow
Type: System Int32
Row Number
nCol
Type: System Int32
Column Number

Return Value

ElementId of the circuit found at the given row and column

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 →