Unless you attach a small drawing with one of those blocks for us to see there really isn't anything we can do to help you.
|
Unless you attach a small drawing with one of those blocks for us to see there really isn't anything we can do to help you.
I try to attach but keep getting an error
See if this link helps http://forums.augi.com/showthread.ph...76#post1278276
If not do you have DropBox or some other way to share a file online?
Peter,
When I run this code in AutoCAD 2019, the following error results: ; error: Automation Error. Key not found
After researching the error, contributors on other sites suggest the error can be eliminated by adding "vl-catch-all" code.
I do not know where to add this to the existing code. Has a new version been developed to include this error handling?
I believe the error results if the drawing does not contain all the object types which are being changed. For example, the drawing has dimensions, but no text objects.
This code has shown the most promise to be able to change all text and dimensions in a drawing from one text style to another. Especially helpful that it can change those objects nested in blocks.
I know this is an old post, but I hope someone can offer assistance.
Regards,
Jerry