Revit 2025.3 API
Schema |
Sets the name of the Schema.
Namespace: Autodesk.Revit.DB.ExtensibleStorage
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public SchemaBuilder SetSchemaName( string schemaName )
Public Function SetSchemaName ( schemaName As String ) As SchemaBuilder
public: SchemaBuilder^ SetSchemaName( String^ schemaName )
member SetSchemaName : schemaName : string -> SchemaBuilder
Parameters
- schemaName String
- The name for the Schema.
Return Value
SchemaBuilderThe SchemaBuilder object may be used to add more settings.
| Exception | Condition |
|---|---|
| ArgumentException | The parameter schemaName is not acceptable for naming Extensible Storage objects. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The SchemaBuilder has already finished building the Schema. |
The name is a user-friendly identifier of the Schema. GUIDs are used exclusively
for Schema identity, but the name is useful to identify the Schema during development
or in an error message.
This field is required.
See Also