Revit 2025 API
Structural |
Verifies if the provided approval name is unique in the document.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool IsValidApprovalTypeName( Document doc, string name )
Public Shared Function IsValidApprovalTypeName ( doc As Document, name As String ) As Boolean
public: static bool IsValidApprovalTypeName( Document^ doc, String^ name )
static member IsValidApprovalTypeName : doc : Document * name : string -> bool
Parameters
Return Value
BooleanTrue if approval type name is unique.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also