Verifies if the provided approval name is unique in the document.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static bool IsValidApprovalTypeName( Document doc, string name )
Parameters
- doc Document
- name String
Return Value
BooleanTrue if approval type name is unique.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |