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.

Designcad looks for a macro when opening

Started by Mark Laing, September 23, 2014, 08:58:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mark Laing

When I open any drawing these days I get a box saying "Cannot find legal.d3m" I just hit cancel but why is it doing that? (looking for any macro) and how do I get it stop.
Thanks in advance,
Mark.

Bob P

Search in the manual for "Workspace Setting Groups".  See whether there's anything set to run.  If not, look at the program's shortcut command line.  I'm pretty sure that you can call a macro from there too.

Mark Laing

I found where to call a macro from the workspace settings, and that box is empty, so I don't think that's it.
Where do I find the shortcut command line information? I keep getting instructions on creating an alias.
Thanks, though.
Mark.

DrollTroll

Look for Dc3MaxDef.ini. Open it in a text editor, and remove any lines in the "[Startup Program]" section.

This file will be either in the same folder as dcad24.exe or in your My Documents/DesignCAD 3D Max 24 folder.
25 years with DesignCAD

Mark Laing

Only two lines in the whole file:

BasicCAD Settings]
TraceDlg=1635,319,2273,1089

I'll be upgrading to version 24 over the weekend, but I'd still like this version to work.

When did you change your profile picture?

DrollTroll

Search the whole system for Dc3MaxDef.ini files -- if there are others, see if any of them reference this "legal.d3m" macro.

Otherwise, the old "Open a commandline and use the reset/clear/new commands" may help.

Changed the picture a week or so ago. It was taken at my wedding last fall.
25 years with DesignCAD

samdavo

#6
Mark
Otherwise write a macro legal.d3m that posts a brief ( say 2 second) window that says "HOWDY !! - and WELCOME to DCAD, Mark, my friend!"
:)   

(and double check your Q\ File Locations I guess)

PS I realise you would call that "yielding to HAL's will"  (2001 minutes of Space Idiocy refers).  And not coming close to answering your question.   I think it's called  "If you can't beat em, join use em".

PS Alternatively you could use the macro to (re)set your preferences of course, assuming you have "Q\General\Reload lastsaved settings at startup"
a) unticked - or
b) ticked for that matter

- and hence either way, DCAD's assumptions of your preferences on opening become
a) obselete with time if they don't update, or
b) dance around a bit if you use temporary changes
respectively.
And a macro at startup would presumably fix that. (2 cents - make that 1.5 cents) 

Mark Laing

I think I found it. The menu was calling it up. Does that make sense? I erased the macro while cleaning house. It doesn't do anything. So I just renamed a totally different macro to it's name. Not it all works. I'll just take it off the menu and erase it again. Make sense?
Mark.