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.

workspace configuration

Started by rccon, March 03, 2013, 11:05:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rccon

In ver. 21, I use a workspace that includes a custom menu file. It was working fine until I made some changes, but now when I open designcad the custom menu does not appear until I select "file,workspace configuration,setup workspace", and click "apply to drawing". Then the custom menu appears. What have I done?

minstrel

Quote from: rccon on March 03, 2013, 11:05:44 AM
What have I done?

Well, that's hard to say.

Next time you need to repeat your procedure, simply click on 'Set As Default" [within workspace configuration dialogue box].  That should get you back on track.

Also, why not save your 'special' workspace to a safe/separate disk location to easily access it when necessary in the future.

Minstrel


DrollTroll

Versions 21 and 22 are going to start new drawings with either your workspace settings or your saved default settings -- not both. If you want to use the workspace, open the General Options tab and uncheck the box "Reload last-saved settings at startup". Then it should use your workspace settings instead.
25 years with DesignCAD

rccon

I'm getting the workspace settings except for the custom menu. On an earlier occasion when the menu file wasn't loading I would invoke "setup designcad workspace" and click "apply to drawing" and the custom menu would then show up. Now that doesn't have any effect. When I go into options, menu, the custom menu labels show in the "menu to change" box, but not on the menu bar. If I make a change to the menu, either adding or deleting an item, the whole custom menu then instantly appears on the menu bar. What's going on?

DrollTroll

Make sure you don't have a default menu file in place. If it exists, delete or rename DC3MAXMENU.SYS (I renamed mine to DC3MAXMENU.SY7).
Also, if it exists, make sure that DC3MAXDEF.ini doesn't have a macro in the [Startup Program] section that's auto-loading a custom menu. Then your workspace should be able to load the desired menu.
25 years with DesignCAD

samdavo

#5
Well, I hate to say it, but I find V22 less reliable (wrt workspace settings) than V18.   BUT, having said that, it is easy to correct this by loading your own workspace "as and when required" - and don't bother to question the logic, or to lose sleep over it.    It doesn't take long. 

PS And DT, sorry, but I have tried both "Reload last-saved settings at startup" on and off.   Sure it works for "new files" - but other files seem to remain beligerently stubborn to update.   (LATE EXTRA - I now get around this by deleting File startup wizard - my bad, the remaining discussion is superseded).

In my case, I like to have
a) a black screen with colours easily visible; and   
b) I also like the cursor with x:y:z::red:white:and blue.

Yet no matter if I set the default background to black (or a particular drwg background for that matter),
and I save this as the default workspace
and in that workspace,
a) the first line ("startup settings") runs a macro called BLACK (which sets black background), and
b) the second line ("appearance") says black background, and also red+white+blue cursor

then
1) save workspace
2) set as default
3) load current settings
4) apply to drawing, etc etc
with
5) "Reload last-saved settings at startup" on or off, etc etc; 
6) then save;
it still loads an existing drawing (saved a couple of times with black background etc) as a white background.

and this despite the fact that it usually shows a black "preview bitmap"
yet when loaded, it is actually/usually white (depends on whether it is the first loaded file or whether it follows a blank file etc ).   
STILL, easily corrected by loading my favourite workspace (black, red+white+blue). (2 cents).

(PS new files seem to behave themselves however, i.e black etc).

PS It wasn't like this in V18 - but I treat this as the price for keeping up compatibility with AutoCAD.  in short, I agree with the ghist of rccon's first post.

PS Perhaps I am making a stupid mistake here, and I apologise if that is the case - and I would appreciate it if someone points out any errors to me.   But equally, life's too short to sweat the small stuff.   Blind man, galloping horse etc etc - final drawing unaffected etc etc.

prl

#6
Quote from: samdavo on March 09, 2013, 04:09:43 AM
life's too short to sweat the small stuff.

Between you and me, you can toss all the DesignCAD workspace configuration stuff and simply write a basiccad program with all your favorite settings.  This way you are in control.  Most everything you need can be set with the sys() functions.

Call it "mysettings.d3m".  Then edit your DCMAXDEF.INI file and add it as a startup program.  Adjust your path to find the basiccad directory as needed.


[BasicCAD Settings]
TraceDlg=1586,601,2124,931

[Startup Program]
BasicCAD=d:\DcBsc\mysettings.d3m



For additional reference, see this post:  http://forum.designcad.com/index.php?topic=247.msg993#msg993

rccon

I got the custom menu to appear each time on startup, and here's how. I opened "options, menu" and made an arbitrary change to a menu item. This caused the custom menu to appear. Then I undid the change I had made and saved the custom menu file. I also unchecked "reload last saved settings on startup". Without this last change, the custom menu would still appear after "setup workspace, apply to drawing" and without the change and unchange drill in "options,menu".

I only want two things from a workspace, a custom menu and custom keystrokes. Since I don't know how to do basiccad, I'm stuck with the workspace configuration. It works well except for keystrokes applied to macros, and there is a problem. Old keystroke assignments will not go away, even when the macros they applied to have been deleted. In "options, keyboard", if I try to assign one of these zombie keystrokes to something else, they show up as currently used for a command identified only by a seven digit number, and there's no way (in this window) to remove them. I have opened dc3maxkey.ini and deleted the lines that pertain to the old assignments, but they are regenerated on the next startup, apparently because they are in my custom keystroke file (.dkf). I can't edit this file, and I don't want to delete it and start over because it contains lots of keystrokes which I only remember when I need the command. Is ther any way to get rid of these key assignments?



samdavo

#8
Firstly I'll say that I get around my problem if I untick"startup wizard".  That way I am presented with a black screen from the getgo, and files saved as black will then load black (plus all the other workspace settings).  I only started using startup wizard (as a trial) when I recently loaded V22.  But I don't like it.   So easy to find recent files by clicking "File" in the initial blank screen  (again, no rocket science there).
PS I have "reload last-saved settings at startup" unticked,
and "save parameters with drawing" ticked.

Quote from: rccon on March 09, 2013, 10:20:23 AM
In "options, keyboard", if I try to assign one of these zombie keystrokes to something else, they show up as currently used for a command identified only by a seven digit number...
rccon,
Believe I'm right here.  If you are told something is already assigned, then I'm assuming it is a DesignCAD assignment.  And you will have no option but to delete the first assignment before you can re-assign it (and for it to be reliable, and to be there next time)

As an aside, (long shot), I recently had a problem at work, where a keyboard I had set up on the weekend wouldn't work properly when linked to the work server.  We have an IT Dept, and whether it was because they like to keep a tight rein on us, or whether due to Windows 7, (which seems to encourage company IT depts to be more hands-on) I don't know.    The particular hotkeys that would sometimes work and sometimes not were "1", "2" etc, which triggered macros 1.d3m,  2.d3m etc,  (which set layer and colour to 1, white etc);  where :-
* I found that the hotkeys no longer worked, and
* when I double-checked keyboard settings, and tried to reassign, I was told (as you say) that keys "1" etc were already allocated  (with a "currently used" code)  - yet they worked (and/or could be assigned) at home, and no such clash (away from server control)  (?).  I have since managed to get those macro hotkeys to also apply at work (by perseverence, and probably duplicating the workspace - or link to it at least - on the server) - 2 cents.   

1. But once you are happy with your keyboard, (assuming you have a stand-alone situation)
2. including no duplication of assigned keys,
3. and save it as default,

4. and (to have an external backup) save it to a folder (I use the "macros" folder for everything, i.e. macros, custom toolboxes, custom keyboard, workspace, etc ),
5. and set "Q / file locations" accordingly,   
6. and (possibly unnecessary ?) set everything up, incl keyboard, in "workspace configuration" ( or as prl says, another macro)
7. and load that workspace as default
...
8. and finally (apparently) turn off "file set-up wizard"

then I imagine you won't have a problem with them loading properly and reliably. - good luck.

PS I imagine that steps 4 to 7 are optional - more about an external backup in case you lose your default (step 3) for instance.

samdavo

#9
PS
1. I note this warning in DesignCAD Help for keyboard settings :-

"Note:  If you assign shortcut keys to other applications in Windows, they may take precedence over the assignments in DesignCAD."

2. I am not 100% clear what this means.  As an example of a normal Windows key-allocation, 
"Cnt+S" usually means Save - and that's what my keyboard does in all programs other than DesignCAD.

However, in DCAD, I have reassigned "Cntl+S" as "Save AS",  not "Save".  (Helps avoid accidental writing over the only version of a particular drawing at a particular stage of development).  And this behaves well.

Clearly the keyboard reverts to standard Windows setting on temporarily leaving DCAD (or closing it),  - even when several applications (Word , Excel, DCAD) are all open together.    (2cents).   

3. Hence I don't fully understand the warning (para 1) (?)



samdavo

4. And finally, on the subject of "currently used" codes, I think I am correct, but if you get a number eg 25509, 25510 etc  (as against text describing a Command), then that means it has been allocated to a macro or similar.  (That's what mine says anyway - eg I have "a" deleted as "arc", and set instead to run a macro a.d3m = "manipulate All layers";   And if I try to assign it again, I am told "currently used, 25509".    A similar hotkey c, is set for "manipulate Current layer";  and if I try to reallocate it yet again - just as a test - I am told "currently used, 25510"  etc.

rccon

samdavo,   The hotkey warning you referred to is one I heed. I have an application called hotkeyz in which I have a few keys assigned to some windows functions and if I try to use the same keys in designcad, they don't work, so I have to be careful there.

On the ''currently used" codes, just as you say, the keys have been previously assigned to a macro. My problem is that I can find no way to remove these assignments as the number does not appear in the command list and there is no indication even of what macro they were assigned to. The custom key file (.dkf) is apparently binary and can't be edited and even though it can be saved as an ascii file (.dka), that one is pretty cryptic to me and I don't see how to edit it. So as time goes on, more and more keys will become unusable and, if I'm privelleged to live so long, I will run out of keys altogether.

Dempsey

Little known fact I guess, but you can save the custom keyboard file also as an ASCII file.
Dempsey

samdavo

#13
rccon
FWIW, I enclose (below) my own keyboard file; 
I call it   
"keyboard ac12389eFgHiLSF8F9aerialB"  with ".dk2.txt" as suffix (you'll have to change that to just ".dkf" yourself - I can't upload otherwise)

which means I have reallocated a, c, 1, 2, 3 etc to 9; (these are the extent of my macros)
also
Cntl E = explode
F = fit to window
Shift F = fillet ( I remember by the "f" in shift - not to be confused with the old joke about there's no "f" in tomatoes - thatsa what I try to tella you lady !!)
Cntl F = chamfer ( "C" in Cntl)
G =  nothing ( I don;t like snap grid)
H = set handles
I = info box ( just as Cntl I is)
L = ortho line
S = stretch
F8 = aerial view
etc
(I have also recently set B = regenerate, as I found myself reaching across for F9 far too often, and chose a more easily accessible hotkey)...

But back to your problem,   I find that, when I print it (eg in workpad)  at the end it defines the numbers and the macros - at least the ones allocated by DCAD;  see enclosed jpeg.   Maybe such a printout would help you as well?
cheers, samd

PS re-reading your post, I suspect it won't help you.
But at least you might end up with the keys to the Kingdom - for perseverance ?

samdavo

I'll try again as a zipped file.