MikeP Posted October 22, 2009 Posted October 22, 2009 Here is what im trying to do (defun c:ssl (/ insert) (command "-insert" "Q:\Lisp\SS Legs.dwg") (princ) ) Quote
lpseifert Posted October 22, 2009 Posted October 22, 2009 in lisp you can't use a \ as a folder separator. You need to use either / or \\. also the command insert isn't a variable so you needn't declare it. Quote
MikeP Posted October 22, 2009 Author Posted October 22, 2009 in lisp you can't use a \. You need to use either / or \\.also the command insert isn't a variable so you needn't declare it. ok thanks. but that didnt really help me. it works just fine if I tell just give the name of the block with out a location. but this lisp will not work on another machine. Quote
mdbdesign Posted October 22, 2009 Posted October 22, 2009 What about button macro -insert;NAME OF BLOCK;\;;0;\\\\ less typing than lisp... Quote
MikeP Posted October 22, 2009 Author Posted October 22, 2009 What about button macro-insert;NAME OF BLOCK;\;;0;\\\\ less typing than lisp... i dont use buttons. I use keyboard faster Quote
alanjt Posted October 22, 2009 Posted October 22, 2009 ok thanks. but that didnt really help me. it works just fine if I tell just give the name of the block with out a location. but this lisp will not work on another machine. If you only specify the block name, it must exist in a Support Path or in the current drawing's directory. Quote
MikeP Posted October 22, 2009 Author Posted October 22, 2009 it works. but its a multi leader, im using 09 and hes is using 07 so multileaders are not compatible in 07 from 09 Quote
alanjt Posted October 22, 2009 Posted October 22, 2009 it works. but its a multi leader, im using 09 and hes is using 07 so multileaders are not compatible in 07 from 09 So, what's the question? How to get a multileader into an 07 machine? Try dxf'ing it out or Export To Autocad, should convert it to proxy objects. Quote
MikeP Posted October 22, 2009 Author Posted October 22, 2009 So, what's the question? How to get a multileader into an 07 machine? Try dxf'ing it out or Export To Autocad, should convert it to proxy objects. you answered my quesion. his machine needed to have a support path added. once added, I realized that the multileader wont work for his version. its works for me, so that all im worried about Quote
alanjt Posted October 22, 2009 Posted October 22, 2009 you answered my quesion. his machine needed to have a support path added. once added, I realized that the multileader wont work for his version. its works for me, so that all im worried about Oh ok, good deal. That's crazy that you are working with someone and they are using a different version than you. Quote
MikeP Posted October 22, 2009 Author Posted October 22, 2009 Oh ok, good deal. That's crazy that you are working with someone and they are using a different version than you. yeah its a long story about why, but we are actually using a total of 3 different versions here Quote
alanjt Posted October 22, 2009 Posted October 22, 2009 yeah its a long story about why, but we are actually using a total of 3 different versions here :shock: Crazyness. Quote
MikeP Posted October 22, 2009 Author Posted October 22, 2009 :shock: Crazyness. you have no idea. we use 2 different machining programs and each one is only computable with a different verson Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.