SetWriteAccessLevel Method


Sets top level write access (for entities)

Namespace: Autodesk.Revit.DB.ExtensibleStorage
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public SchemaBuilder SetWriteAccessLevel(
	AccessLevel writeAccessLevel
)
Visual Basic
Public Function SetWriteAccessLevel ( _
	writeAccessLevel As AccessLevel _
) As SchemaBuilder
Visual C++
public:
SchemaBuilder^ SetWriteAccessLevel(
	AccessLevel writeAccessLevel
)

Parameters

writeAccessLevel
Type: Autodesk.Revit.DB.ExtensibleStorage AccessLevel
Write access level value to be set

Return Value

The SchemaBuilder object may be used to add more settings.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
Autodesk.Revit.Exceptions 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 →