What method repeat last but one command?

Hi,
V5
need to repeat last but one command, how is that done quickly without reaching for the tool ?
I draw a line, I then need to bringToFront (have button for that used thousands of times over mesh)
hit enter and its not ready to draw another line. it thinks I want to bring to front again.
so back to the line tool.
want keyboard entry repeat last but one command.

How ?
Cheers
Steve

There is no native command to do that. An alternative solution would be to add BringToFront to the Never Repeat list which would cause Rhino to jump over it to the preceding command when you hit the spacebar. Obviously you won’t be able to repeat BringToFront with the spacebar any more, but that shouldn’t be a problem.

Note that Never Repeat doesn’t work for commands in macros.

HTH
Jeremy

Note that you can right-click in the command line area and it will bring up a list of last used commands. The last used will be on top. The next-to-last used will be one down from that. Not sure if it’s any faster though.

in this case, if you always want to bring the line to the front after it is drawn, better use a Macro for it

! _Line pause pause Sellast BringToFront SelNone