GetCellsBySlotNumber Method


Gets cells for the given slot number

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.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: SystemInt32
Slot Number
RowArr
Type: System.Collections.GenericIListInt32%
The array of Row Number
ColArr
Type: System.Collections.GenericIListInt32%
The array of Col Number

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 →