Command: (command "-plot" (_> "n" (_> "" (_> "Setup1" (_> "" (_> "" (_> "n" (_> "y" (_> ) -plot Detailed plot configuration? [Yes/No] <No>: n Enter a layout name or [?] <Model>: Enter a page setup name <>: Setup1 Enter an output device name or [?] <AutoCAD P Enter a page setup name <>: Setup1 Enter an output device name or [?] <AutoCAD P Enter a page setup name <>: Setup1 Enter an output device name or [?] <AutoCAD P DF (General Documentation).pc3>: Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p age setup [Yes/No]? <N> n Proceed with plot [Yes/No] <Y>: y Effective plotting a Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p age setup [Yes/No]? <N> n Proceed with plot [Yes/No] <Y>: y Effective plotting a Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p age setup [Yes/No]? <N> n Proceed with plot [Yes/No] <Y>: y Effective plotting a Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p age setup [Yes/No]? <N> n Proceed with plot [Yes/No] <Y>: y Effective plotting a Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p age setup [Yes/No]? <N> n Proceed with plot [Yes/No] <Y>: y Effective plotting a Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p age setup [Yes/No]? <N> n Proceed with plot [Yes/No] <Y>: y Effective plotting a Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p age setup [Yes/No]? <N> n Proceed with plot [Yes/No] <Y>: y Effective plotting a Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p age setup [Yes/No]? <N> n Proceed with plot [Yes/No] <Y>: y Effective plotting a Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p age setup [Yes/No]? <N> n Proceed with plot [Yes/No] <Y>: y Effective plotting a Enter file name <C:\Users\arcinst\Downloads\KJ_SD1-Model.pdf>: Save changes to p age setup [Yes/No]? <N> n Proceed with plot [Yes/No] <Y>: y Effective plotting a rea: 7.80 wide by 9.60 high
Plotting viewport 2. . ommand: nil
A plot is created.
Since dialog boxes are not supported, all of the statements to set and unset variables are unnecessary. Since no error messages are generated, it may be difficult to debug problems in accoreconsole.
Most of the statements in your script are unnecessary including the save statement unless you are trying to save plot settings and page setups.
The script is a default to what i use in the gui mode. If the statements are ignored in core, then that's fine. I can use the same script in gui mode or with the core. makes less confusion for my cad users and one less script to edit.
I can see it gets past the those statements and loads the lisp routine, but nothing happens after that.
The real issue is running the lisp in the core mode. if i CAN run (command "") based lisp routines, not sure why this isn't working?
It seems I'm not the only one stuck. I just found this post showing a very similar issue.
There are some lisp functions that don't work so just reusing your gui form of lisp isn't always going to cut it. For example, layoutlist does not return a value in accoreconsole. It is probably because it is an external subroutine probably loaded as part of AutoCAD not needed for non-gui processing. So you would have to use other methods, such as activeX to create the list.
That the layoutlist function would not be in the core seems odd though because lspdata.lsp, one of the express tools functions lists that function in its core-symbol-list but in the accoreconsole session (member 'layoutlist (atoms-family 0)) returns nil