Lookup Method


Lookup the connector using the unique index value that identify this connector.

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

Syntax

C#
public Connector Lookup(
	int index
)
Visual Basic
Public Function Lookup ( _
	index As Integer _
) As Connector
Visual C++
public:
Connector^ Lookup(
	int index
)

Parameters

index
Type: SystemInt32
The unique index value.

Return Value

Returns the connector or null if a connector for the provided unique index value doesn't exist.

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 →