Finds the analytical connection type by its name.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since:
2018
Syntax
Visual Basic |
---|
Public Shared Function FindTypeByName ( _
doc As Document, _
name As String _
) As ElementId |
Parameters
- doc
- Type: Autodesk.Revit.DB..::..Document
The document where the analytical conneciton type is expected.
- name
- Type: System..::..String
The name of the expected analytical connection type.
Return Value
The element id of matched analytical connection type, otherwise invalidElementId.
Exceptions
See Also