Jump to content

Recommended Posts

Posted

Here is what im trying to do

 

(defun c:ssl (/ insert)
(command "-insert" "Q:\Lisp\SS Legs.dwg")
(princ)
)

Posted

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.

Posted
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.

Posted

What about button macro

-insert;NAME OF BLOCK;\;;0;\\\\

less typing than lisp...

Posted
What about button macro

-insert;NAME OF BLOCK;\;;0;\\\\

less typing than lisp...

 

 

i dont use buttons. I use keyboard faster

Posted
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.

Posted

it works. but its a multi leader, im using 09 and hes is using 07 so multileaders are not compatible in 07 from 09

Posted
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.

Posted
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

Posted
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.

Posted
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

Posted
yeah its a long story about why, but we are actually using a total of 3 different versions here

:shock::shock: Crazyness.

Posted
:shock::shock: Crazyness.

 

 

you have no idea. we use 2 different machining programs and each one is only computable with a different verson

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...