Revit 2025 API
Structural |
Creates a new StructuralConnectionApprovalType.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.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
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