AcCoreConsole gives "command not found" error in a script that runs in AutoCAD

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I 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 here 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 here on this forum.
Any advices are welcome!