Revit 2026 API
Structural |
Creates a new StructuralConnectionApprovalType.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static StructuralConnectionApprovalType Create( Document doc, string name )
Public Shared Function Create ( doc As Document, name As String ) As StructuralConnectionApprovalType
public: static StructuralConnectionApprovalType^ Create( Document^ doc, String^ name )
static member Create : doc : Document * name : string -> StructuralConnectionApprovalType
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.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| ArgumentsInconsistentException | The input name for approval type is not unique in the document. |
See Also