Hi
I would like to launch attached lisp in a accoreconsole.
The goal is to plot every layouts of a file When I load or insert the lisp directly in the console, I have no errors
When I launch it : Command : test , accoreconsole gives me two blank lines and accoreconsole waits a new command "Command : " as asual. He does nothing
I saw that the 'lisp command' can't be used in accoreconsole but I have no idea how can I do without using 'command' in my lisp
Each files have several layouts (10) and I would like to plot all of them.
I don't want to use the command publish (it works perfectly) because I need a specific dsd for each file (something like a bunch of 200 files).
Thanks if you have any suggestions,
This is the exact Lisp I try to use in accoreconsole :
(defun C:test (/ layouts num)
(setq layouts (layoutlist))
(setq num 0)
(repeat (length layouts)
(COMMAND "-PLOT"
"Yes"
""
"PublishToWeb PNG.pc3"
"User 1 (8000.00 x 8000.00 Pixels)"
"Portrait"
"No"
"Extents"
"Fit"
"Center"
"Yes"
"."
"Yes"
"Yes"
"No"
"No"
""
"No"
"Yes"
)
(setq num (1+ num))
)
)
If you have suggestions, you're welcome. I defintly lost!
Hi did you solve that allready? I have the same issue and can't find any answer. My self made TLEN.lsp file works fine in Autocad.exe just typing TLEN, but whe I call it in accore console just typing TLEN it says:
"Command: TLEN
Unknown command "TLEN". Press F1 for Help.
Command: _quit"
And crashes. What's the right way to call my .lisp routine in accoreconsole? Thank you
I don't know much about accoreconsole, but you might look here:
http://adndevblog.typepad.com/autocad/2012/04/getting-started-with-accoreconsole.html
I allready read the Balaji Ramamoorthy's and some more people's posts, videos, forums and more about accore console, I can now run the accoreconsole, my own .bat, .scr, and .lsp files, I got that covered thank you for that but now at this not so noob level I got stuck tryng to call my TLEN.lsp in accoreconsole, any other idea?