StructuralConnectionApprovalType.Create Method

Creates a new StructuralConnectionApprovalType.


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.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

StructuralConnectionApprovalType
Created connection approval type.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null
ArgumentsInconsistentException The input name for approval type is not unique in the document.

See Also

Reference

StructuralConnectionApprovalType Class
Autodesk.Revit.DB.Structure Namespace