Share

WorksetTable.IsWorksetNameUnique Method

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

Boolean
True if this given workset name is unique in the document, false otherwise.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?