Share

CircuitNamingScheme.IsNameUnique Method

Validates whether the CircuitNamingScheme name is unique in document.


Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public static bool IsNameUnique(
	Document aDocument,
	string name
)

Parameters

aDocument  Document
The document in which the name is being tested for uniqueness.
name  String
The name tested for uniqueness.

Return Value

Boolean
Returns true if the name is unique, and false otherwise.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?