Anonymous
en respuesta a:
Anonymous
10-23-2018
10:10 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
10-23-2018
10:10 AM
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.