Sample Code Revit Batch Processor 1.1.11 documentation
Basic schema creation sample (excludes any fields). Creates a scheme or returns the already existing scheme with the same guid.
schema_name (str) – The name of the schema
schema_documentation (str) – A short description of the schema
string_guid (str) – A guid. (unique identifier of this schema)
access_level_read (Autodesk.Revit.DB.ExtensibleStorage.AccessLevel) – Access level to schema for read operations. Default is Public.
Access level to schema for write operations. Default is Public
Autodesk.Revit.DB.ExtensibleStorage.AccessLevel
The newly created schema, or existing schema with same guid.
Autodesk.Revit.DB.ExtensibleStorage.Schema