Search the Community
Showing results for tags 'accoreconsole'.
russleen posted a topic in AutoLISP, Visual LISP & DCLI need to process a whole bunch of DWG drawings. First, i need to BURST all the blocks that are on them, and then export it to DXF format. So, what I did is, I wrote a very small script: (load "BURST") BURST ALL _dxfout 16 and also found and modified a BAT file that some kind soul wrote on the forum to run this script on the drawings folder: FOR %%f IN ("C:\Users\plxru_user\Desktop\burst_test\*.dwg") DO "C:\Program Files\Autodesk\AutoCAD 2019\accoreconsole.exe" /i "%%f" /s "C:\Users\plxru_user\Desktop\burst_test\burst2dxf.scr" /l en-US The script works perfectly in AutoCAD, but in ACC it throws an error message saying "Unknown command BURST. Press F1 for help." Same thing happens when I try using custom PBURST from Lee Mac: (load "C:\\Users\\plxru_user\\Desktop\\burst_test\\BurstUpgradedV1-7.lsp") pburst all _dxfout 16 I tried changing PBURST with (C:"BURST"), only to see another error "Unknown command ALL. Press F1 for help." I have no idea about AutoLISP, scripts, etc., all I did was just slapping together the pieces that I found online. Any advices are welcome!
Hello, This is my first question to post so please bear with me. I have read several forum posts and howtos on the internet about using the accoreconsole to create pdf files from autoCAD dwg files. I have created an src file that searches the drawing file for some information ( sheet size, revision number, etc) and then calls the plot function. I have the src file working and I can actually generate a pdf file. However, I have two issues. The first one is the speed of the accoreconsole. When the accoreconsole is called the resulting window shows tons of lines scrolling like it's echoing the commands many, many times. The scr file does create a log file of the drawing it's opening and the parameters that it's read from the drawing so I expect some latency for file writes,etc but the src file takes about 60 seconds to create the pdf file. If I take the same lisp commands and paste them in the autoCAD commandline the pdf is generated in about 5 seconds. I have seen posts of users that have the same problem but they were not using straight vanilla LISP. The other problem is when the accoreconsole is called with the scr file in the same directory as the dwg file everything works but if the scr file is somewhere else then the accoreconsole errors, even if the full path to the scr file is given. I had this working (but still running slow) in AutoCAD 2014. My company recently upgraded to AutoCAD 2017 which is when the full path to the scr file quit working. Does anyone have any ideas??