|
Hi,
First, this site is wonderful. Many posts from members have helped me with my questions. I've been scouring the forum for a LISP, but seem to have come up short.
I'll try to explain what I'm trying to do. I have a consultant that uses Revit for design, but our company uses AutoCAD. They have exported their model into a dwg for us to see and use, but it came with its own problems.
One such problem is the family of items such as a chair. Each chair they created has its own unique name. So when I open up the dwg and take a look at my block list, I see tons of identical chair blocks with their own name. There may be up to 10 chairs with a given unique name along with 10-20 different block names (if that makes sense).
I have tried using RENAME, but it only allows one type of block to be re-named. Anything else becomes a duplicate error. I have also looked into EXPRESS TOOLS REPLACE BLOCK. The replaced block can accept the new name, but gets changed with a different rotation. I suspect that the block was drawn with a rotation. It isn't feasible for me to go and re-rotate all the blocks due to the number present. I have also looked into the BRE LISP by Alan Thompson. Again, the replaced blocks get rotated.
So, I am looking for a LISP that can snatch up all those unique blocks and rename or replace them with a generic block name like A-CHAIR while keeping their orientation as seen in model space.
Any help would be greatly appreciated.
Thank you in advance.
Jeff |
|