Today I added the possibility to move entities with Lua.
A function was created to directly access selection as std::vector in CadMdiChild, with

LUA_USING_LIST_TYPE(std::vector)

to have the selection in Lua list without using templates.
LCADViewer now knows when there is an active operation to prevent selection and entities to be dragged. That prevent some bugs when an entity is moved to one of his drag points because DragManager use selection which is not updated.

I sent a pull request