DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Some Customized DesignCAD Keyboard Shortcuts

Started by samdavo, February 27, 2013, 03:45:38 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

MarkX

So, every time I toggle toolbar visibility off, the info box toggles off changing the position of all the windows. When I toggle toolbar visibility back on, the info box is reinstated in the corner, even though I had previously moved it out away from the edge. The Toggle Toolbar trick would be great if it would leave the Info box alone.

Mark

Lar

#31
Quote from: Lar on March 18, 2013, 10:48:40 AM
A tip with 'hide/restore toolboxes' if you use multiple floating drawing windows: undock all of the toolboxes. This way when you hide/restore the dcad drawing windows don't resize.
Mark, my info box remains floating, where I left it and how I sized it. I don't use Panes. That may have something to do with it.

Yup... Just tested and with Panes active the info box always appears in the border where Panes is, causing drawing windows to resize.

Below is an image of my toolboxes setup. This bitmap resides in a file that I open if things get moved around too much and I have to put them back. I have it tinted so I can tell the real toolboxes from those in the image. It's dated last year but I've been using this setup ever since the hide/restore command was implemented some years back. The actual toolboxes were created even more years before that. Some of what you see here is obsolete and some of the toolboxes have grown. I tend to add new icons but hardly ever delete them, so many of the icons have not been used in years. I only delete icons if a box gets full (49, I think) and I want to add new stuff in that particular box. Many times I feel the need for some new icon then discover that it is already there and haven't been touched in years.

Notice that I have the central area clear. This is so I can work if I need the keep the boxes on screen for a string of drawing commands.

One thing is that if you close dcad with the boxes hidden then dcad opens without them. For this reason I have a macro to load my regular stuff. You can create different macros for different groupings of boxes.

Here's an example of a macro (the lines using sys() are for built-in boxes, those using showtoolbox are custom and use the name written up top within the file, not necessarily the name of the saved toolbox dct file ):

sys(226)=1 'Color Toolbox
sys(222)=1 'Snap Toolbox
sys(219)=1 'Layer Toolbox
sys(220)=1 'Toolbar
sys(221)=1 'Main Toolbox
sys(224)=1 'Coordinate bar
sys(225)=1 'Viewing Toolbox

>ShowToolbox
{
<Toolboxname "Flatten"
<Visible 1
}

>ShowToolbox
{
<Toolboxname "Change Entity Params"
<Visible 1
}

>ShowToolbox
{
<Toolboxname "On-Off"
<Visible 1
}

>ShowToolbox
{
<Toolboxname "Quick"
<Visible 1
}

>ShowToolbox
{
<Toolboxname "Snap Size"
<Visible 1
}

>ShowToolbox
{
<Toolboxname "Layer"
<Visible 1
}


I don't always have all the toolboxes shown in the image active. Sometimes I open just a few using the popup menu. Over the years I have actually created many more custom toolboxes than what you see there.

You may notice that all the custom toolboxes in the popup menu are in alphabetical order. To achieve this I had to delete all of them (save the toolbox files first) then reload them in that order. Since then I have added a few more but didn't bother to alphabetize them again.

Lar
ps: hide/restore toolboxes affects the Symbol Library but not the Selection Filter...

Lar

#32
Guys, there is a sort of serious issue that I experience with the opening of toolboxes, whether from the pop-up menu a  macro, or the 'show/hide' command in the View tab of the Options dialog. It may be just my system but it has been happening on different computers over the years. You may only experience it if you open toolboxes often, which is what will happen if you use my method of a screen full of toolboxes. If you just leave you toolboxes open you may never experience it. I didn't bother to report it since it seemed no one else uses hide/restore and if they did, no one else reported it.

The issue is that at random times when I open a toolbox (like I said, from a macro or the popup menu of the View tab) dcad will just disappear. If this happens to you you may then open dcad again and open the file that you were working on using the list at the bottom of the file menu. It will open (as you last saved it) but say that the file is already open so you can't save under the same name. If you do save under a new name, any time in the future you open the original file you will be unable to save it. You will also be unable to delete it. *I think* you will be able to copy it to backup devices but even the copies will be un-savable.

Now, the solution is quite simple but you have to do it before you turn off the computer. Also, you may be tempted to check the Task Manager to see if dcad is still in the system. It would still be there, if not in Applications, then in Processes. Do not use Task Manager to shut dcad down.

Solution 1:
Although dcad is invisible it is still open. Before clicking in any other program press alt+F. This would open dcad's file menu. Go to the bottom of the menu, the file you were working on should be at the top of the list. Click it and dcad will reappear with the file just as you left it, and any other file you had opened in that dcad.

If you have alt+F setup to run some other command then try alt+another underlined letter of one of dcad's menus (eg, alt+D for the Draw menu). When a menu opens press the left arrow key. This would open the menu to the left of the one that opened first. Continue doing this to get to the File menu.

Solution 2:
If you have other instances of dcad open close them properly. Go to Windows Explorer (the filing system), browse to the file you are working on and double click it. Dcad should reappear with the file as you left it. If you do not close other opened instances of dcad when you double click the file name it may open in the other instance, saying that it can't be saved.

Now, a clue to when this disappearing may happen is if you right click another open toolbox or click the status bar, the toolbox menu will popup. If a see a toolbox checked but it is not visible on the screen then do not click any of the toolbox names. Press esc to close the popup menu. Cycle around the other programs or minimize dcad. Bring it back up and hopefully all the toolboxes that are active will be visible. If that does not work then it may be best to save the file, close dcad and reopen it.

Bahama Lar,
The Indianan Jones of Dcad

MarkX

Quote from: Lar on March 19, 2013, 10:28:37 PM
Quote from: Lar on March 18, 2013, 10:48:40 AM
A tip with 'hide/restore toolboxes' if you use multiple floating drawing windows: undock all of the toolboxes. This way when you hide/restore the dcad drawing windows don't resize.
Mark, my info box remains floating, where I left it and how I sized it. I don't use Panes. That may have something to do with it.

Yup... Just tested and with Panes active the info box always appears in the border where Panes is, causing drawing windows to resize.

Wow, Lar, it seems like you have figured out all the work-arounds.

When you say that you "don't use panes", do you mean that you just use "main", but have it maximized?

Also, when you say that the info box stays where you left it, is it docked or free-floating?

So far, even if I have just the main screen up and maximized, and the Info Box pinned as always open, when I toggle the toolbar visibility on and off, the info box docks itself back at the left edge. It never remembers that it was a free-floating box before the toggle.

Thanks,
Mark



Dr PR

Mark,

"Panes" are the pull-out tabs at the right side of the default DesignCAD main window. I think the Info Box and Color Toolbar default to this mode. These dialogs pop out from the right side of the screen hiding the things in the main window you are trying to work with - a real pain!

In the "Options/View" dialog you can disable Panes. This will return the wasted part of the screen that is hidden by the panes to the main drawing window. This causes the Color Toolbox to work like other toolboxes - you can position it anywhere. The Info Box becomes a pop-open dialog anywhere on the screen, and you can position it anywhere. It does reopen in the same place every time you open it in a drawing session.

Phil
DesignCAD user since 1987

MarkX

Quote from: Dr PR on March 20, 2013, 01:03:47 PM
"Panes" are the pull-out tabs at the right side of the default DesignCAD main window. I think the Info Box and Color Toolbar default to this mode. These dialogs pop out from the right side of the screen hiding the things in the main window you are trying to work with - a real pain!
Well, that was certainly subtle. Its buried inside the view menu as though it was a separate toolbar. Don't know how anyone would stumble upon it without the help of a forum like this!

Thanks Phil!
Mark

Lar

Mark,

Other than the Options>View you can right+click any visible toolbox or click, right or left, in the status bar and the toolbox menu will pop up. Whatever has a check mark beside is currently visible. Panes is at the top. If it has the check mark click it to disable it and the Panes will go away.

Lar

samdavo

Wow Lar, Indiana Jones and the Holy Grail.
thanks for those invaluable tips - for that rainy day I need to use them - albeit hopefully never,  lol.
The option of getting a bigger monitor starts to make sense lol.

Lar

#38
Hey, I just discovered that shift+ctrl+# toggles  a custom toolbox in order from the topmost custom toolbox on the toolbox popup menu (the one below 'coordinate format...'). Eg, to open/close my custom 'layer' toolbox I can do shift+ctrl+8.

'Why does this excite me?' you may ask. Well, when wanting to open a particular toolbox I find that searching for it among the list is a slight drag, which is why I arranged my customs in alphabetical order (I wish the built in ones were in alphabetical order). Now I can memorize my most common toolboxes numbers (which is not a problem for me) and use the hotkeys, especially when wanting to open more than one (ie, rather than repeatedly clicking to open the menu then the toolbox name I can just hold shift+ctrl and hit numbers... also, when using the Options>View tab I have to click a few times before the 'X' comes or goes).

Cool... for those who dig this sort of thing... namely me.

Lar
1 days later: The shift+ctrl+# thing only goes as high as 8. I may rearrange my custom toolboxes so that my eight most used are at the top.

JJG

Lar, I understand you open and close custom toolbox very often, because you have a lot of personal tools (macro, etc ...). OK

I have my side too (a lot of personal tools). But I don't need to open and close whatever so often, since I have a 30" WQXGA screen (2560x1600 pixels) for DesignCAD, what allows me to have enough space to put every toolboxes always visible and then operative. It's another "concept" of use ..., I agree, but that I personally find more comfortable for my eyes, and for my speed of work. Otherwise, dedicated tools I have created are macros that I run by the traditional way for (shortcut shift+%), or with extra shortcut.

samdavo

#40
Quote from: Lar on March 23, 2013, 08:29:11 AM
Hey, I just discovered that shift+ctrl+# toggles  a custom toolbox in order from the topmost custom toolbox on the toolbox popup menu (the one below 'coordinate format...').
Thanks for that Lar.
At the moment I only have 2 custom toolboxes numbered macro1 and macro2 - and sure enough shift+cntl+1 or 2 toggles each in turn (so you weren't the last to know).

Based on a previous suggestion of yours, I have macro toolboxes on right and bottom of screen (not floating)- mainly on right, except that some must be horizontal.  "Toggle all toolboxes" gives me a very neat extra strip of screen there.   

(Late PS.  I might have had to plan ahead, and "fitted to window" with all toolboxes off - but the general case of zoomed in somewhere gives me the extra strip(s).  And I have the option of Aerial view, so theoretically I should be able to use fit to window less frequently - always assuming I can resist old habits).

Note that, because your new suggestion "toggles each" individually, they tidy themselves into a neat (minimum width) strip.  Hence I doubt I will ever use the floating trick you mentioned.  But thanks for keeping the grey cells exercised.   
 
PS.  FWIW, At the bottom of one custom toolbox I have placed an icon for the command "Run Macro", alias JJG's "shift+%"  (2 cents).   But I'm thinking I might add a third custom toobox based on your last idea.


samdavo

Quote from: samdavo on March 23, 2013, 03:11:40 PM
(Late PS.  I might have had to plan ahead, and "fitted to window" with all toolboxes off

Just thinking aloud (i.e. it may or may not come to fruition) but ...
Dead simple of course to write a macro (eg with either a reallocated hotkey F previously allocated to SIMPLE fit to window; or a new hotkey eg F12)  that
a) toggles all toolboxes off
b) fits to window
c) toggles them all on again.

That way, when you toggle all off ( = my new hotkey G), you get the max dimensions for the drawing on the screen.

samdavo

#42
I've tried the following macro linked to my F12 hotkey.
The jury is still out however. 

'macro f2.d3m - to fit to full window even behind toolboxes
>HideRestoreToolbars
{
  }

>FitToWindow
{
  }

>HideRestoreToolbars
{
  }

PS It is intended to be used with toolbars showing, otherwise toggling is reversed. (doh)

samdavo

#43
Just a quick follow up to the last post (and at risk of duplicating/repeating some others).
With my hotkeys, that macro can also be achieved by the following sequence:-

G = toggle toolbars off (think Gearboxes)
F = Fit to window
G = toggle toolbars/gearboxes on again.
(F&G being so close, it's like playing chopsticks on the piano),  These are just commands. 

I have reallocated the commands
Shi(F)t+F as Fillet, and
(C)ntl+F as Chamfer

Others easy to remember are
A = unlock All layers (macro)
B = (re)Build including bimacro to change all text to 2D
(PS. one could also tack on that "super-regen" macro here if you wished, and even colour to layer, - and any other normalising housekeeping -  making B a tri-macro, or even a quad - but that all seems a bit excessive - after all, I use B instead of normal regen, Cntl + R - and quite often)

Also
A = unlock All layers, (a macro) , and
Cntl+A = select All. (command, standard hotkey)
(2 cents).

PS. Lar, I seem to recall you saying you turned toolboxes on and off with some key close to your left thumb (?) Is there a default hotkey for this?

Lar

Quote from: JJG on March 23, 2013, 12:56:03 PM
But I don't need to open and close whatever so often, since I have a 30" WQXGA screen (2560x1600 pixels) for DesignCAD, what allows me to have enough space to put every toolboxes always visible and then operative.
JJG, it's not so much the screen size but the fact that it does not require a lot of mouse movement to get to the toolboxes, since they are all clustered around the area I do most of my work. Higher resolution screens, regardless of the size, mean more pixel distance from one screen area to the next.

Lar