Yep nothing happens it says e.g. resetARRSDBBL succsesfully loaded aaaand thats it, nothing more.
Maybe im making a mistake here:
(while (not bname)
(setq bname (getstring "\nEnter Block Name to Delete : "))
(cond ( (not (vl-position (strcase bname) b_lst)) (alert (strcat "Block " bname " NOT present in drawing")) (setq bname nil)))
);end_while
(while (not lyr)
(setq lyr (getstring "\nEnter Layer Name for Block Deletion : "))
(cond ( (not (vl-position (strcase lyr) l_lst)) (alert (strcat "Layer " lyr " NOT present in drawing")) (setq lyr nil)))
);end_while
does it have to look like this:
(setq bname (getstring "\nEnter Block Name to Delete : MYBLOCKSNAME"))
(setq lyr (getstring "\nEnter Layer Name for Block Deletion : MYLAYERSNAME"))
or like this:
(setq bname (getstring "MYBLOCKSNAME"))
(setq lyr (getstring "MYLAYERSNAME"))
neither works but thats a question i asked myselfe and maybe there is the problem at some point like this
I´m really glad that you help me out here ^^"
Another question:
Can i make it that easy to delete a block per name and layer ?
(command
"_.move" (setq ss (ssget "_X" '((0 . "*TEXT") (1 . "Verteiler,KL,WM,WT,KS,GS,DA")))) "" "200,0" ""
"_.erase" (ssget "_X" '((0 . "*TEXT"))) "_remove" ss ""
"_move" ss "" "-200,0" ""
"_.erase" (ssget "_X" '((0 . "*line"))) "_remove" ss ""
"_.erase" (ssget "_X" '((0 . "circle"))) "_remove" ss ""
"_.erase" (setq SS1 (ssget "X" (list '(0 . "INSERT") (cons 2 "Ventilator")))) "_remove" ss ""
(setq lay_name "MaCE HT_MSR")
"_.erase" (setq SS2 (ssget "X" (list '(0 . "INSERT") (cons 3 "Verteiler") (cons 8 lay_name)))) "_remove" ss ""
"_regenall"
)
I know the green part is working but i also know that the red part isnt. Can you explain me why ?
i gues that the first line of the red is wrong in its Format. Am i guessing right ?