FindGenericConnectionType Method


Finds StructuralConnectionHandlerType which is Generic Connection type.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since: 2017

Syntax

C#
public static ElementId FindGenericConnectionType(
	Document doc
)
Visual Basic
Public Shared Function FindGenericConnectionType ( _
	doc As Document _
) As ElementId
Visual C++
public:
static ElementId^ FindGenericConnectionType(
	Document^ doc
)

Parameters

doc
Type: Autodesk.Revit.DB Document

Return Value

Returns id of StructuralConnectionHandlerType which is Generic Connection type of invalidElementId if not found.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

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 →