<Code Lib>
2027 Property
Changes 0
P

APIObject.IsReadOnly

Description:
Identifies if the object is read-only or modifiable.

public virtual bool IsReadOnly { get; }

Document project = uiApplication.ActiveUIDocument.Document;
Settings settings = project.Settings;
TaskDialog.Show("Revit","Categories: " + settings.Categories.IsReadOnly.ToString());

Loading…