Hi,
Very new to programming but need to achieve the following in Autocad 2014.
In brief, I use a scaffolding software that produces a lot of unwanted blocks, and its naming convention isn't good.
I need a script or routine to remove a load of unwanted blocks (so select all blocks definitions with that name and delete, dont care about the block definition itself, just all instances of it in the drawing)
_deck_end
_donut
_donutt6
etc....
and then to rename a load of block definitions so they can be exported into another software program.
_Deck_0 to Boards
_Deck_Toe to Kicks
_hop_7 to 2BHU
etc....
If possible, I could also do with renaming certain blocks that would be selected by name & also by the value in the geometry, scale X properties value.. That one might be tricky I know..
Any help would be amazing, either by example code or a pointer to a similar routine so I can try and reverse engineer it and modify to suit my needs..
Thanks
Tony