FindGenericConnectionType Method


Finds StructuralConnectionHandlerType which is Generic Connection type.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
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.DBDocument

Return Value

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

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null

See Also