vle-start-transaction


(vle-start-transaction)

starts a database transaction for current drawing

Arguments

none

Return

T when transaction is active, NIL otherwise

Example

(vle-start-transaction)
T : transaction is active
NIL : transaction is not active

Alias


Remarks

with an active transaction, database and display updates are delayed until the transaction is finished - this can significantly improve performance when many entity and database modifications are done;

multiple / nested transactions are not supported - but it is gracefully tolerated, Lisp keeps a single (global) transaction only;

when outermost Lisp execution finishes, a pending / open transaction is automatically closed (also  when Lisp code errors)



©  Bricsys NV. All rights reserved.