Search the Community
Showing results for tags 'burst command'.
-
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:
-
is there BURST command or something similar for AutoCAD 2004 ? I need to explode blocks without losing text content
- 3 replies
-
- burst command
- block
-
(and 1 more)
Tagged with:
-
Hi I am making a lisp routine that inserts a block and breaks the line the block is inserted in. The block inserted is a pump schematic which includes the valves, strainer and control points (tags). I use the BREAKDIM attribute (invisible) to set the width of the linebreak that the block is inserted into. (some of you old lispers would remember the code BBlock.lsp ) I am would like to burst the block after inserting it from within the lisp routine. If I use the code (C:burst) It invokes the burst command but prompts me to: select objects. I would like to have it burst the block that was just inserted (entlast) or let me input the block name. Another option would be to use the (command "._explode" "L" "") function and then erase the attribute Def -`BREAKDIM. To do this I would need some code to find an Attribute def (not in a block anymore as it was just exploded) with the TAG "BREAKDIM" and then use the `command "erase" function to delete it. If anyone can help it would be much appreciated. Mbuk