Creates a new StructuralConnectionHandlerType object.
Namespace:
Autodesk.Revit.DB.Structure
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since:
2017
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- pADoc
-
Type:
Autodesk.Revit.DB
Document
The document.
- name
-
Type:
System
String
The type name.
- guid
-
Type:
System
Guid
Connection GUID.
- familyName
-
Type:
System
String
Name of system family which created type will belong to.
- categoryId
-
Type:
Autodesk.Revit.DB
ElementId
Category identity of connection type.
- inputPointsInfo
-
Type:
System.Collections.Generic
IList
ConnectionInputPointInfo
List of description information used for the selection of input points.
Return Value
The newly created instance.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |
Autodesk.Revit.Exceptions ModificationForbiddenException | The document is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- The document is being loaded, or is in the midst of another sensitive process. |
Autodesk.Revit.Exceptions ModificationOutsideTransactionException | The document has no open transaction. |