SetReadAccessLevel Method


Schema Builder Set Read Access Level Method

Sets top level read access (for entities)

Namespace: Autodesk.Revit.DB.ExtensibleStorage
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public SchemaBuilder SetReadAccessLevel(
	AccessLevel readAccessLevel
)

Parameters

readAccessLevel AccessLevel
Read access level value to be set

Return Value

SchemaBuilder
The SchemaBuilder object may be used to add more settings.
Exceptions
Exception Condition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
InvalidOperationException The SchemaBuilder has already finished building the Schema.
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 →