IsValidSchemaIdentifier Method


Asset Property Is Valid Schema Identifier Method

Check that schema name is valid

Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool IsValidSchemaIdentifier(
	string schemaID
)

Parameters

schemaID String
The schema name.

Return Value

Boolean
True if the schema name is valid.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
InvalidOperationException Cannot check validity for a property not being edited in AppearanceAssetEditScope.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →