Load applications files
When we open this function, we have a dialog box where there is a button called "add file"This button allows me to add my lisp files in the dialog box, but the problem is one per one.I would like add all my lisp files in one time, is it possible ?Thx - RSTASBricscadV7
Comments
-
Even if you can or could, I think they will be in the order in which you add them.You might want to add them as items in new/extra drop down menus as I do. A bit labourious, but you can add ^c's before and the command to run each lisp after.
0 -
"as items in new/extra drop down menus as I do"How can i do that ?Thx - RSTAS
0 -
You can automatically load your lisps.seehttp://www.bricsys.com/common/knowledge/topic.jsp?id=207You can keep your lisps in separate files and write(load "yourlisp") where the path to the lisp folderis in the "support file search path".(you should always keep them in a separate folder)If you want to automatically load some lisps only when your user actually uses them, then put(autoload "yourlisp" ' ("yourcommand1" "yourcommand2" ;etc. ))instead of (load "...There might still be a bug in using autoload.I've managed to get it working.
0 -
Sorry, I noticed that you're using V7.I'm not sure autoload isn't broken in v7.I remember got it to work in V7, but I think it took some tweaking.
0 -
Using Customise>Menus(tab), you will see all the headings which appear in the pull down menus - File Edit View etc. and their sub-commands. You can add new pull downs with new commands. Under each new pull down menu, you can have as many commands as will fit down the screen and add lines such as ^C^C^C(load "mylisp");mylisp, giving it a meaningful name in the menu. It loads and runs when you click on it.It works much the same in V8, but transfering any such customisations from earlier versions is not a direct route.
0 -
Thanx, this text ^C^C^C(load "mylisp");mylisp once inserted works fine.Where is stored the menu modified, because of if i wish reinstall bricscad a day ( after a crash...) i must not write again the new menu ?Thx - RSTAS
0 -
Thanx, this text ^C^C^C(load "mylisp");mylisp once inserted works fine.Where is stored the menu modified, because of if i wish reinstall bricscad a day ( after a crash...) i must not write again the new menu ?Thx - RSTAS
0 -
In V7 and earlier, I think it is stored in Windows' registry until you Export it as a .icm file using the same Customise panel. That file can be imported so it makes your menu portable, but not into V8.The same system is used for Aliases and Keyboard shortcuts.
0 -
In V7 and before Use "customize" and add all your menus. Then take away all std menus before you export to .icm.When you load later make shure to mark "append to existing menus"This way you can easily reset the original menus and add only your own.V8 seems not to be ready for this yet, correct me if Im wrong someone.CheersPatrikPSHave not started properly with V8 yet following the forum to see when it seems like time.
0 -
I've spent some time trying to figgure menus out in v8. There have been instructions posted on this forum for doing so, but I have had very limited success.You are supposed to create a partial .cui file, and load that file... but it doesn't seem to work.The only successful way to make limited chages, is to take an existing menu, and delete or change existing buttons. I could not successfully add buttons, or create my own toolbar.When ever you make a change, all the toolbars reset to their default position. The and ones you turned off are turned back on, and vice-verse. But, it does remember the menus you edited, and you can re-open them with your changes intact.Joe Dunfee
0 -
I have found the same things. I created my own .MNU file and append it using the CUI command.The file (I called it V8) is in the form:MENUGROUP=V8POP1P1-1[POP1]P1-2[SCRIPT]^C^C^CSCRIPTP1-3[ATTEDIT]^C^C^CDDATTEP1-4[ANGLE]^C^C^C(LOAD "ANGL");ANGLP1-5[SNAPANG]'SnapangI have read that a number of Autocad users do the same thing (same way they always have done it) and aviod using the new cui mechanism for editing the menu, now common to Acad and Icad.Icad does not seem to accept keyboard customisations made the same way as Acad does in a MNU file.The scrambled toolbars is a real pain.
0 -
I agree about toolbars reset. Please stop the resetting of open and closed toolbars and positions after each customization. It defininatly makes you think twice about adding something once you have them arranged the way you want.Next Ver maybe?Jerry
0 -
Pre V8 the toolbars would reset to some predefined layout if Object Properties toolbar was showing. If it was not active the toolbars would stay put, but that is not the case in V8.
0 -
Especially for John,When i was using Autocad2000 some years ago, i have created my own additional menu i called Plus.mnu, with Pop1, Pop2,...Pop8 and withalmost more than 100 lisp routines.It was easy. In the acad.mnu, i inserted a command in a pulldown menu for going in my plus.mnu and vice versa. Really a lot of time won as is.Now i must manage with this Load Application Files, or as you described above with^C^C^C(load "mylisp");mylisp ... (more insteresting)If i could use my old plus.mnu, i would be interested.Note also the fact that a lot of my lisp routines running under acad 2000 don't run under BricscadV7 ... mystery!
0 -
Especially for John,When i was using Autocad2000 some years ago, i have created my own additional menu i called Plus.mnu, with Pop1, Pop2,...Pop8 and withalmost more than 100 lisp routines.It was easy. In the acad.mnu, i inserted a command in a pulldown menu for going in my plus.mnu and vice versa. Really a lot of time won as is.Now i must manage with this Load Application Files, or as you described above with^C^C^C(load "mylisp");mylisp ... (more insteresting)If i could use my old plus.mnu, i would be interested.Note also the fact that a lot of my lisp routines running under acad 2000 don't run under BricscadV7 ... mystery!
0 -
I'm sure you can use it, I think I did exactly the same when I migrated from Acad. On the Customise panel there is an Import option which looks for an mnu file (default) or an icm. Append or replace.The only thing with it is that it only Exports as icm, so if you made changes that way you would have the same problem as me in v8, having stopped updating my old mnu and saving as icm - v8 won't import the icm file.
0 -
I have had very little trouble with lisps running, except a few of those I have downloaded. They were either too long to try an work out why, or were compiled.
0 -
I've now created my own pull down menu with a lot of lisp routines. I'm using the command "customize" - "insert" -"menu item"-"menu sub item" ... etc. I export my new modified menu with "Userprofilemanager" and i obtain a file with the extension *.arg.Well, i would like organize better the menus with my routines. Routines concerning text together, idem for routines about settings, etc...How can i do ?Can i modify with a notepad the *.arg file and re organize inside this file my menus.Example of a line created when i add the routineXE.lsp with the command customize :[HKEY_CURRENT_USER\Software\BricsCad\BricsCad\Profiles\Copy_of_DefaultV7_withTangent_151107bb\Menu\MnuItem-391]"Name"="XE""Command"="^C^C^C(load\"XE\");XE""Visibility"=dword:0000000c"SubLevel"=hex:01,00If i cut these lines and paste them in another place in the *.arg file, must i modify the number 391 in these lines.Each lisp routine has a number in the *.arg file : 391, 392, 393, ...etc...THX 4 Ideas - RSTAS
0