ing.dir
Guest
as written in another post I'm trying to automate actions and I'm taking advantage of it to understand more than lisp.
I need to explode the blocks present in a dwg answering specific names.
using a lisp found on the net I can select the blocks by name and I tried the solution rougher but faster i.e. insert directly into the ssget the list of the names of the blocks to explode.
for some reason if I insert some names (as attached) the lisp works but if I insert them all gives me the unknown command error.
I thought I would give the ssget command from time to time the block name to explode, taking it from a list itself in the code or from external file.
Unfortunately with my current skills I am unable to do so and I have not found solutions looking online.
Could someone please help me?
p.s.
I attach the lisp that I copied from the network, the list of blocks that I would like to explode, written in two ways, and a test file containing the blocks.
I need to explode the blocks present in a dwg answering specific names.
using a lisp found on the net I can select the blocks by name and I tried the solution rougher but faster i.e. insert directly into the ssget the list of the names of the blocks to explode.
for some reason if I insert some names (as attached) the lisp works but if I insert them all gives me the unknown command error.
I thought I would give the ssget command from time to time the block name to explode, taking it from a list itself in the code or from external file.
Unfortunately with my current skills I am unable to do so and I have not found solutions looking online.
Could someone please help me?
p.s.
I attach the lisp that I copied from the network, the list of blocks that I would like to explode, written in two ways, and a test file containing the blocks.