Jump to content

What's the macro command for loading lisp


Recommended Posts

How can appload a lisp from macro i do the following but it open dialog , what's wrong ??

^C^C^_appload ;Ffjdshj.LSP;

Link to comment
Share on other sites

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

  • hosyn

    12

  • hmsilva

    9

  • ReMark

    3

  • MSasu

    2

Top Posters In This Topic

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

Link to comment
Share on other sites

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;

Link to comment
Share on other sites

Just for load Ffjdshj.lsp

 

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

or

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

 

Henrique

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

I checked them but not work:(

What did you check?

if yhe path you posted is correct and the filename too,

 

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

 

must work!

 

Henrique

Link to comment
Share on other sites

When i locate in custom toolbar and run it i have this result in prompt:

 

(load "C:

 

 

???????????????????

Link to comment
Share on other sites

hosyn,

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

 

Henrique

Edited by hmsilva
typo...
Link to comment
Share on other sites

Hosyn, I'm afraid you didn't stated the full path into your first post; please adjust the macro like:

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

And don't forget that the macro should contain a space at end.

Link to comment
Share on other sites

Dear Msasu

I copy and paste the above code and

this is the result of yor code:

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

After the run macro apear (load"c: and after some enter have this result.:?o:)o:)o:)o:)o:)

Link to comment
Share on other sites

Copy and paste just this

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

 

If it works then add the ^C^C in your macro in a tool.

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