bdeLockDiagramHistory

Takes diagram and locks the version of the history of the diagram so it can not be changed.

Syntax

locked = bdeLockDiagramHistory(diagram)

Inputs

diagram
Diagram used to get locked history.
Type: diagram

Outputs

locked
The locked history of the diagram.
Type: HistoryLocker

Examples

Lock the history of the diagram:
diagram = bdeGetCurrentDiagram();
        locked = bdeLockDiagramHistory(diagram)
locked = hwHistoryLocker