Revit 2026 API
Asset |
Check that schema name is valid
Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool IsValidSchemaIdentifier( string schemaID )
Public Function IsValidSchemaIdentifier ( schemaID As String ) As Boolean
public: bool IsValidSchemaIdentifier( String^ schemaID )
member IsValidSchemaIdentifier : schemaID : string -> bool
Parameters
- schemaID String
- The schema name.
Return Value
BooleanTrue if the schema name is valid.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | Cannot check validity for a property not being edited in AppearanceAssetEditScope. |
See Also