Jump to content

What's the macro command for loading lisp


Recommended Posts

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

  • hosyn

    12

  • hmsilva

    9

  • ReMark

    3

  • MSasu

    2

Top Posters In This Topic

Change de macro to

 

(load "C:/my doc/Ffjdshj.lsp" "Unable to find Ffjdshj.lsp")

 

the \\ in the macro is interpreted as a pause,

 

Henrique

Link to comment
Share on other sites

dear hmsilva

I frequently change the / , \\ ,\ together and unfortunately at all of them i don't get good result:cry: but when i run (load ----) directly from prompt everything ok and lisp file run until i located it in toolbar button macro with ^c^c . ???

 


Command:
Command:
Command: (load "C:
("_>
("_> my doc
("_>
("_> Ffjdshj.lsp" "Unable to find Ffjdshj.lsp") "Unable to find Ffjdshj.lsp"



Link to comment
Share on other sites

From the Autocad commandline, you can use

 

(load "C:/my doc/Ffjdshj.lsp" "Unable to find Ffjdshj.lsp")
;;or
(load "C:\\my doc\\Ffjdshj.lsp" "Unable to find Ffjdshj.lsp")

but in a macro it must be

(load "C:/my doc/Ffjdshj.lsp" "Unable to find Ffjdshj.lsp")

 

Henrique

Edited by hmsilva
Typo
Link to comment
Share on other sites

I checked it with cad ver 2011 and 2014 and i don't receive good result -- i locate lisp file to support folder but .... ----i'm confuse :cry::cry:

Link to comment
Share on other sites

hosyn,

this is a "déjà vu"...

the only way we can help you, is having access to correct information, is very difficult to keep on guessing, so...

 

copy and paste here, the command string you have in your custom toolbar, dont type. just copy/paste all the string.

 

Henrique

Link to comment
Share on other sites

^C^C (load"C:/my doc/Ffjdshj.lsp"  "Unable to find C:/my doc/Ffjdshj.lsp")

the result after run above macro:

 

 


Command:
Command:
Command: (load "C:
("_>
("_> my doc
("_>
("_> Ffjdshj.lsp" "Unable to find Ffjdshj.lsp") "Unable to find Ffjdshj.lsp"



Link to comment
Share on other sites

^C^C(load "C:/my doc/Ffjdshj.lsp"  "Unable to find C:/my doc/Ffjdshj.lsp")

 

 

Try the corrected string (removed an empty space between ^C and (load, and added a space between load and "C)

 

Henrique

Edited by hmsilva
Typo
Link to comment
Share on other sites

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