hosyn 发表于 2022-7-6 23:57:26

What's the macro command

How can appload a lisp from macro i do the following but it open dialog , what's wrong??
^C^C^_appload ;Ffjdshj.LSP;

ReMark 发表于 2022-7-7 00:01:42

See post #3 of this thread...
 
http://www.cadtutor.net/forum/showthread.php?19522-Routine-to-APPLOAD-lisp-file..

MSasu 发表于 2022-7-7 00:06:57

Not sure if APPLOAD works in command line mode; try this instead:

^C^C^(load "Ffjdshj.LSP")

hmsilva 发表于 2022-7-7 00:08:35

hosyn,
if your lisp file is not in a "Support File Search Path", you must provide the full path, and for instance, your command name would be "test", you could test if was loaded, if not, load it and run the code...
 

^C^C(if (not c:test) (load "C:/mylisp/Ffjdshj"));test
 
Henrique

hosyn 发表于 2022-7-7 00:11:46

I checked them and unfortunately don't act well:(
How can appload a lisp from macro i do the following but it open dialog , what's wrong??
^C^C^_appload ;c:\my doc\Ffjdshj.LSP;

hmsilva 发表于 2022-7-7 00:16:01

Just for load Ffjdshj.lsp
 

^C^C(load "C:/my doc/Ffjdshj")
or

^C^C(load "C:\\my doc\\Ffjdshj")
 
Henrique

hosyn 发表于 2022-7-7 00:18:55

What's the macro command for loading lisp file from customize bottom toolbar that when i click that bottom load lisp file.

ReMark 发表于 2022-7-7 00:22:41

You basically got the answer in your other thread.
 
See post #9 of this thread for a recap.
 
http://www.cadtutor.net/forum/showthread.php?48430-Open-file-and-run-lisp-macro

SLW210 发表于 2022-7-7 00:24:43

It is getting tiring to continually have to move and merge your threads and remind you to use Code Tags.
 
Please review the forum posting and code posting guidelines.

ReMark 发表于 2022-7-7 00:27:11

Time to break out the "persuader"?
页: [1] 2
查看完整版本: What's the macro command