laymrg

C Witt

Usenet Archive
Joined
Jun 23, 2003
Messages
396
Reaction score
0
Does anyone know how i can access this command from a lisp?..

(command "laymrg") wont work.. same with "_laymrg.. "-laymrg..

OR

can anyone tell me were I can find the actual lisp for this command??.. and i'll just "use" it rather than call it up.
 
A lisp isn't a "command" though lisp functions named with a c: prefix can be run from the command line.

Use (c:laymrg) to call the function from another lisp.
 
ok, but how do I get it to merge the layers?.. (NO user input required)
 
got it

(c:laymrg)
t
scale

t
text
y

;>
thanks ;p
 
new problem.. this works if you C&P into the command line.. but not if it is loaded as a lisp file.. it ignores the t scale... and asks for user input.. WHY?!?!
 
nope.. it ignores the data.. and askes for user input
 
Hmm, first I've heard of someone who know lisp but not what a script file was, but anyway, one's attached. Check out help for more info.

Type script & run it.

Use (defun c:mylaymrg (command "script"
"c:\\yourpath\\laymrg.scr")(princ)) to tie it to a lisp.

Dan
 
uh.. were is the file?.. (using the NG if that matters)..?.. perhaps you could email it?
 
BTW, Thanks.

Dan said:
Hmm, first I've heard of someone who know lisp but not what a script file was, but anyway, one's attached. Check out help for more info.

Type script & run it.

Use (defun c:mylaymrg (command "script"
"c:\\yourpath\\laymrg.scr")(princ)) to tie it to a lisp.

Dan

laymrg
t
scale

t
text
y
 
Go to Help -> Help (or press F1) on the Index tab, type in the word script, should give you a good idea of what it is.
 

Latest threads

Back
Top