Monday 20th February 2023
Do we have any useful tool command to duplicate an existing cell easily?
Now I make a new cell, copy patterns and cell name of the existing cell and paste them to the newly created cell.
Since it takes a little extra work, I hope to know a effective way.
Jürgen LayoutEditorFull Monday 20th February 2023
The feature *copy current cell* under utilities/cell_tool will do exactly that. The command from the command line for it is *copyCurrentCell*. ( [https://layouteditor.org/layoutscript/api/drawingfield](https://layouteditor.org/layoutscript/api/drawingfield#44)
Tuesday 21st February 2023
Thank you so much for support. Do we have any shortcut key to it?
Jürgen LayoutEditorFull Tuesday 21st February 2023
There is no default shortcut key for it ( [https://layouteditor.org/info/shortcuts](https://layouteditor.org/info/shortcuts) ). But you can set a shortcut for it via a macro: [layout::setShortcut](https://layouteditor.org/layoutscript/api/layout#47)