Search the Community
Showing results for tags 'burst'.
-
AcCoreConsole gives "command not found" error in a script that runs in AutoCAD
russleen posted a topic in AutoLISP, Visual LISP & DCL
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 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!- 5 replies
-
- accoreconsole
- burst
-
(and 1 more)
Tagged with:
-
I tried writing a simple lisp to make a hotkey for Burst. I want to type BB instead of typing BURST. I have also tried using the express tools/Alias Editor and that won't work either. Any thoughts or advice? BURST (defun c:BB()(command "BURST"))