- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I need a routine, to make every block reference as unique block in entire drawing, for use in other sofrtware. I have found a leemac script Copy or Rename Block reference, it does exactly what i need but just for one selected element. I have tried to edit it, and with some success but i have got strange error also. When i run this script first time in drawing with block i work perfectly, but when i try to run it again in the same drawing i got error with selection set. I can't figure it out why it is happening.
There are my edited script and also some simple drawing with two blocks inside. After loading a lisp to file use cb command, you will find, that routine created new definition of block with numbered definition and also deleted block reference for base block. But if u try to use cb command again it will fail right after creation of new selection set. I can't manage to run this script second time in the same drawing. If i copy this new blocks to fresh drawing and then in new drawing again run cb command it works again, but again only once. What is going on here?
Solved! Go to Solution.