acad core sonsole not running lisp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Tying to run this in acad coreconsole 2018 but
with this bat and script: it prints the file but fails to update the attributes, not sure what it causing it to not work. the lisp works fine outside of the coreconsole enviroment.
Any ideas on what I'm doing wrong? Thanks
------------------------------------------------------
error message:
Command: (load "c:\\cadd\\AutoCad\\Support\\Lisp\\UTB-Attributes.lsp")
Error: no function definition: VLAX-GET-ACAD-OBJECT
Command: (command "-plot" "y" "" "DWG to PDF" "ANSI full bleed D (22.00 x 34.00 Inches)" "inches" "landscape" "no" "window" "0,0" "34,22" "1:1" "0,0" "y" "611110ctb" "yes" "yes" "no" "no" "" "no" "yes")
-plot Detailed plot configuration? [Yes/No] <No>: y
-----------------------------------------------------------------------------
bat:
FOR %%f IN ("C:\CADD\projects\611110\sheets\*.dwg") DO "C:\Program Files\Autodesk\AutoCAD 2018\accoreconsole.exe" /P "C:\Program Files\Autodesk\AutoCAD 2018\acad.exe" /product ACAD /language "en-US" /p "C:\CADD\profiles\AcadLC2018.arg" /i "%%f" /s "C:\CADD\Projects\611110\printing\print.scr" /l en-US
-----------------------------------------------------------------------------------
script:
(load "c:\\cadd\\AutoCad\\Support\\Lisp\\UTB-Attributes.lsp")
(c:UpdateTitleblocks)
(command "-plot" "y" "" "DWG to PDF" "ANSI full bleed D (22.00 x 34.00 Inches)" "inches" "landscape" "no" "window" "0,0" "34,22" "1:1" "0,0" "y" "611110ctb" "yes" "yes" "no" "no" "" "no" "yes")
(command "quit" "y")