User LayoutEditorFull Wednesday 5th February 2020
It would be super-useful if one could use the mouse to select some elements, and then type a command that manipulates those elements. For instance, let's say I select four cells, and then I want to copy them with a shift in the X direction of 200µm, using a command like this (I am making this up, and this command doesn't work in LayoutEditor, but it serves to give the idea of what I want):
c 0 0 200 0 <Enter>
Can something like this be done?
Jürgen LayoutEditorFull Wednesday 5th February 2020
For such a manipulation you don't need the command line. You can select the cell reference, call the copy mode (shortcut *c* ) and make a shift left mouse click to enter the displacement as number. The same sequence will work will movement as well.
If you want to use the command line the sequence after selected the cell reference is:
p 0 0
p 200 0
So also here you can combine mouse entry and command line. There is even a feature to combine macro code and mouse entry: You can pause the execution of a macro with a ```layout->macroPause();``` call. The user can make selection with the mouse and continue the execution with the content menu.