GetCellsBySlotNumber Method


Gets cells for the given slot number

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

Syntax

C#
public void GetCellsBySlotNumber(
	int nSlotNumber,
	out IList<int> RowArr,
	out IList<int> ColArr
)
Visual Basic
Public Sub GetCellsBySlotNumber ( _
	nSlotNumber As Integer, _
	<OutAttribute> ByRef RowArr As IList(Of Integer), _
	<OutAttribute> ByRef ColArr As IList(Of Integer) _
)
Visual C++
public:
void GetCellsBySlotNumber(
	int nSlotNumber, 
	[OutAttribute] IList<int>^% RowArr, 
	[OutAttribute] IList<int>^% ColArr
)

Parameters

nSlotNumber
Type: System Int32
Slot Number
RowArr
Type: System.Collections.Generic IList Int32 %
The array of Row Number
ColArr
Type: System.Collections.Generic IList Int32 %
The array of Col 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 →