Jump to content


Next layout keyboard shortcut

accelerator layout

2 replies to this topic

#1 ryanOKA

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 08 April 2022 - 05:00 PM

I'm looking to change layouts with a keyboard shortcut (accelerator)
I see the current way to do this is by entering the command:
Layout Set [layout name]

what I'm really looking for is a way to cycle to the next or previous layout in the drawing.

Is there a way to do this?

#2 Artemio

    Advanced Member

  • Administrators
  • 320 posts

Posted 09 April 2022 - 09:15 PM

Definitely.
Call command INTERFACE in command line.
Then in appeared "Customize user interface" dialog window click on "Accelerators" tab.
This are registered keyboard shortcuts (accelerators).
You can add yours, for example - cycling to the next or previous layout in the drawing.
To do so:
  • Click "Create accelerator".
  • In appeared dialog window with two red fields click on "..." button which is after top red field - "Intername".
  • In "Select command" window search "LayoutMoveLeft", then select it and click "OK". This command switch active layout to previous.
  • Click bottom red field "Shortcut" and then press keyboard shortcut you want to use to call this command. For example SHIFT + LEFT. Your accelerator have to appear in the field and there shouldn't be fields colored in red now.
  • Click "Create accelerator".
  • Repeat this actions but with command "LayoutMoveRight".
  • Restart NanoCAD.
Now you can use created acceletators.
The only thing is - you can't use "LayoutMoveLeft" or "LayoutMoveRight" in active "Model" tab, you should switch to any other layout first.

#3 ryanOKA

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 29 April 2022 - 10:07 PM

Not exactly what i was looking for... but this is somewhat helpful.

LayoutMoveLeft takes the current layout and moves it left.
I'm actually looking to set the current layout to the one located beside it.

for example: I'm currently in Layout labeled "1" i want to move to the layout directly beside it labeled "2".
as of right now i'd either have to do the laborious work of lifting my hand off the keyboard to move the mouse over the layout i want to select, or type the command "LAYOUT S 2"

is there a way i could do this with an accelerator?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users