PDA

View Full Version : ACAD (Any): Setting up a default


architech
17-09-2004, 03:48 PM
Someone once asked ....
I made a custom toolbar but I have to manully load it everytime I start Acad. Is there a way to get it to load when Acad starts? Thanks

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Solution:
After you manually load your custom menu & docked your toolbars where you want them ..., export the current "profile". Now when you login, the profile that's set current will hopefully keep you menus.

Otherwise, you'll have to import the same "profile" you exported and set it current.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Below are the detailed steps to accomplished the above solution.

I would 1st go to options.
Give the current profile a name ... "MINE".
Now load your menu via "menuload".
Move your toolbars around into the desired "final" position.
(Dock them to the left, right, up, or down ... whatever)
Once you're happy with your setup, go back to options.
Now export this profile ... "MINE" .... to the same folder where your menu sits, since its the search path ... or make a new folder, just make sure its in the search path.

Now EXIT AutoCAD.

Before you double click on the ICON to launch AutoCAD ...
Right click on the icon and go to properties.
Where you see acad.exe .... make it look like this .....

(don't touch this part) some folder ... \acad.exe /p c:\mine special folder\MINE.arg


Click apply and ok.

Now double click on the ICON to luanch AutoCAD.
Hopefully ... (cross your fingers) ... your profile and preferences will come up ...

Hope that helps.
:D

architech
10-12-2006, 08:57 PM
Aside from setting up defaults with toolbars you can also set variable settings like BLIPMODE off... and other variables ... and layer names ... and DIMSTYLES .... and text styles
by saving them to your ACAD.DWT file....

architech
10-12-2006, 09:01 PM
You can also add LISP routines to come up automatically....
By having them setup in the "acaddoc.lsp" for AutoCAD 2002 or higher...
Or by setting them up in the ACAD.lsp for AutoCAD 200 or lower..

the syntax would read....

(load"C:/Documents and Settings/ACAD-CUSTOM/lsp/rich.lsp")


And then just save it.... in your root directory or support directory of AutoCAD....
C:\Program Files\AutoCAD 2002

C:\Program Files\AutoCAD 2000\support


:cup:

architech
10-12-2006, 09:03 PM
You can also ... add these routines to your "startup suite" ... under the "APPLOAD" command.

:drinks:

architech
10-12-2006, 09:07 PM
And finally....
Using the Startup suite.....
You can use a LISP routine to set up your defaults.... for variables, as well...

Save all your desired variables in this text file/ *.LSP
and have it load under the Startup suite.

For example:
;;;; BY JOEY CAD
;;;;CREATED 08DEC2006
;;;;LOAD THIS FILE UNDER THE "STARTUP SUITE" UNDER THE "APPLOAD" COMMAND



(setvar "savetime" 5)
;TURNS ON THE AUTOSAVE AND SETS IT TO SAVE EVERY 5MINS AFTER LAST SAVE
(setvar "isavebak" 1)
;TURNS ON THE "CREATE A BACKUP COPY W/EA SAVE" UNDER OPTIONS
(setvar "isavepercent" 50)
;TURNS ON THE "INCREMENTAL SAVE PERCENTAGE" UNDER OPTIONS



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

And call the file "DEFAULTS.LSP"

:080402gud