Creates a new StructuralConnectionApprovalType.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public static StructuralConnectionApprovalType Create( Document doc, string name )
Parameters
- doc Document
- name String
- A name for the new approval type. It must be unique within the document.
Return Value
StructuralConnectionApprovalTypeCreated connection approval type.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentsInconsistentException | The input name for approval type is not unique in the document. |