Да, я посмотрел события через MGDDBG. При изменении свойства объекта блокировка документа меняется 8 раз:
[Doc Mgr Event] : Document Lock Mode Will Change : Чертеж1.dwg
Global Command Name :
Current Mode : NotLocked
My Current Mode : NotLocked
My New Mode : ProtectedAutoWrite
[Doc Mgr Event] : Document Lock Mode Changed : Чертеж1.dwg
Global Command Name :
Current Mode : ProtectedAutoWrite
My Current Mode : NotLocked
My Previous Mode : ProtectedAutoWrite
Команда:
[Doc Mgr Event] : Document Lock Mode Will Change : Чертеж1.dwg
Global Command Name : PARTIALREGEN
Current Mode : NotLocked
My Current Mode : NotLocked
My New Mode : Write
[Doc Mgr Event] : Document Lock Mode Will Change : Чертеж1.dwg
Global Command Name : #
Current Mode : AutoWrite
My Current Mode : AutoWrite
My New Mode : NotLocked
[Doc Mgr Event] : Document Lock Mode Changed : Чертеж1.dwg
Global Command Name : #
Current Mode : NotLocked
My Current Mode : AutoWrite
My Previous Mode : NotLocked
[Doc Mgr Event] : Document Lock Mode Changed : Чертеж1.dwg
Global Command Name : PARTIALREGEN
Current Mode : Write
My Current Mode : NotLocked
My Previous Mode : Write
[Doc Mgr Event] : Document Lock Mode Will Change : Чертеж1.dwg
Global Command Name : #PARTIALREGEN
Current Mode : Write
My Current Mode : Write
My New Mode : NotLocked
[Doc Mgr Event] : Document Lock Mode Changed : Чертеж1.dwg
Global Command Name : #PARTIALREGEN
Current Mode : NotLocked
My Current Mode : Write
My Previous Mode : NotLocked
Тоже как-то громоздко для проверки.