Modify all blocks without opening drawing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I wish to to through and perform the same operation to all 73,000 blocks in a drawing. I have a lisp that successfully does what I want, except that it runs very slow when the full assembly is open (ETA: 73 days) . . . While the lisp is running, it appears that the block operations execute quickly and all the time is spent transitioning from one block to the next as it goes into and back out of the model space. Is it possible to go in and modify each block completely bypassing the model space?
One approach I am considering is using VLA to skip loading the drawing entirely, then looping through each block individually performing the update and then somehow saving the block.
I have been studying a code by Lee Mac that can can extract blocks from a drawing without opening it - but I cannot find much information about how to modify that information and then add it back in. . . And I am new at Lisp and brand new at VLA . . . so please forgive me if this is simple!
Thank You,
-Aaron