Checks if the given workset name is unique in the document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static bool IsWorksetNameUnique( Document aDoc, string name )
Parameters
- aDoc Document
- The document in which the workset is accessed.
- name String
- The workset name.
Return Value
BooleanTrue if this given workset name is unique in the document, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |