Checks whether the name is valid for new generated scheme.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2022
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- name
- Type: System String
Return Value
Returns true if the name is valid for new generated scheme, false otherwise.Remarks
The name should not be empty, or all spaces, or include prohibited characters or duplicated with existing schemes.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |