News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

seke/hotkey for creating a new layer

Started by DMO, April 12, 2012, 03:21:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DMO

When in the Design Director and using my context menu, I see the keyboard entry for creating a new layer (ctrl+N), but that key combination used directly from the drawing instead accesses the FILE menu and starts a new file. It seems that if I have to touch the design director (even though it is open on my screen) before I can activate its hotkeys/seke's (whatever), then there is little advantage in having them. I usually make new layers just before I'm about to place a new object, and it would really be nice not to have to move back and forth with the mouse every time to do it.

Is there a normal or faster way to do it that I may have missed?
Immediately after creating the new layer, how do you make it become the "active" layer using just the keyboard?

Dave Oliff
TurboCAD Pro Platinum 18.2 Build 73.1               Windows XP Pro SP3

John R

I tried the MacroRecorder palette and had no success, but then I was never good at looking at code and deciphering what's wrong.

Your best bet is probably either SDK or Ruby. If you look in the "Scripts" menu, there is a "Layers sample" in Ruby. That may work for you.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

DMO

Quote from: John R on April 12, 2012, 10:33:06 PM
I tried the MacroRecorder palette and had no success, but then I was never good at looking at code and deciphering what's wrong.

Your best bet is probably either SDK or Ruby. If you look in the "Scripts" menu, there is a "Layers sample" in Ruby. That may work for you.

So do you think it was never intended that you could just "keyboard" over to the design director and create a new layer without the mouse?
Dave Oliff
TurboCAD Pro Platinum 18.2 Build 73.1               Windows XP Pro SP3

John R

re: So do you think it was never intended that you could just "keyboard" over to the design director and create a new layer without the mouse?

When the Palettes were originally designed, I don't think they ever considered having keyboard assignments as you propose.

Prior to Version 18, you could use "Alt+P+Y" to open the "Layers" dialog and "Alt+N" would create new layers. You would have to select each of the new layers to rename them though. Since version 18, you have to jump through hoops to get to that dialog because the "Layers" pointer now opens the Layers palette. The "Layers" palette has "Ctrl+N" to create a new layer, but the cursor has to be focused on that palette and it only works once; focus then returns to the drawing area (you're better off clicking on the "New Layer" icon on the palette). None of the palettes in TurboCAD are keyboard friendly when I think about it, this is why I suggested Ruby. Unfortunately, I doubt if there is anyone around here that knows Ruby.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit