CircuitNamingSchemeSettings.IsValidCircuitNamingSchemeId
Method
Description:
Verifies that the circuit naming scheme id can be used with CircuitNamingSchemeSettings.
Verifies that the circuit naming scheme id can be used with CircuitNamingSchemeSettings.
Syntax
public static bool IsValidCircuitNamingSchemeId(
Document aDocument,
ElementId circuitNamingSchemeId
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| aDocument | Document | The document. |
| circuitNamingSchemeId | ElementId | The circuit naming scheme id to be checked. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if the circuit naming scheme id is valid for CircuitNamingSchemeSettings. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |