IsSlotLocked Method


Check if the circuit slot in this cell is locked.

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

Syntax

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

Parameters

nRow
Type: SystemInt32
Row Number
nCol
Type: SystemInt32
Column Number

Return Value

True if the circuit slot in this cell is locked, false otherwise False if the circuit slot not found.

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 →