GetSlotNumberByCell Method


Gets the slot number in the circuit table

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

Syntax

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

Parameters

nRow
Type: SystemInt32
Column Number
nCol
Type: SystemInt32

Return Value

Row Number

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 →