Hello to all:
In AutoCAD 2016 (may have to also do it in ACAD 2012) I have to edit several hundred blocks so that the value of a specifc attribute inside of the block will change to the name of actual block itself. I am not knowledgeable in scripting yet, but here is a list of what I think needs to be done.
I believe I have all the steps proven out, but again, the simple idea is that I need to change an attribute's value to match the block's name and then stick that modified block on a tool palette.
I'll pay up to $100 (too much, not enough?) thru Paypal if someone can write me a script to sucessfully accomplish this and very briefly comment throughout the script so I can learn how it was done. Thanks in advance for any replies!
Solved! Go to Solution.
Solved by dbroad. Go to Solution.
I am impressed that you are offering to pay for something. That said, you should probably state your requirements as functional changes to block defintions and block references rather than a specific process for accomplishing the tasks. Editing block definitions and updating block references programmatically does not involve palettes, or the block editor.
Yes I've learned that money talks and BS walks 🙂
I layed out the steps that actually closely reflect what I have to manually do at the moment. How that is approached in an automated fashion is beyond my knowledge at the moment.
To sum it up succinctly, I have nearly 3000 blocks with literally the same named attribute to edit and get onto tool palettes. Gotta be a way to automate that somehow!
Regardless of payment, putting 3000 blocks on tool palettes is impractical. As far as I know, AutoLISP cannot even interface with the tool palette system so you would need to contact someone with .NET experience. Once a source block is purged from a source file, the tool palette tool referring to that block willl be broken. If you just want to update block definitions and block references in 3000 drawings, no tool palettes, block editors, or purging is required.
Can't find what you're looking for? Ask the community or share your knowledge.