Verify the uniqueness of the name among all analysis display style elements of the document.
Namespace:
Autodesk.Revit.DB.Analysis
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since:
2011
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- document
-
Type:
Autodesk.Revit.DB
Document
Document in which name uniqueness is verified.
- name
-
Type:
System
String
Name to verify uniqueness of.
- excludedElement
-
Type:
Autodesk.Revit.DB.Analysis
AnalysisDisplayStyle
Element to be excluded from uniqueness verification (for renaming of an existing element).
Return Value
True if name is unique, false otherwise.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |