Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
en respuesta a: Anonymous

13,452...Ouch...sorry it didn't work. Maybe there is a lisp or AutoCAD VBA expert out there who could create something that would work, sadly, that isn't me. Maybe a for-each-next loop, using a file copy that has only the offending blocks in it, using something like

 

for each block in thisdrawing

if block.name <> "your desired name" then

with block

.name = "your desired name"

end with

end if

next block

 

At least this is the way I would set up a sub in Excel VBA to loop thru a sequence of objects and perform a change on each one, no idea how to do it in AutoCAD VBA, or even if it can be done....no idea if any of your dynamic functionality would be there or not even if the renaming works....good luck.