• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

rename blocks according to file name

  • Thread starter Thread starter Raffa1736
  • Start date Start date

Raffa1736

Guest
Hello, everyone.

My name is raffaele, I'm a professional unlibero. for work I prepared a file of autocad, which contains a large amount of blocks. This file would be (yet it is not for the problem that I am putting here) very useful in design, if I could rename the blocks according to how of the file.

I'll explain. I have a file called disa, and the blocks contained in it are, for example:

disa_b1
_
disa_b12
disa_k35

now I would like to make sure that the first part of the block name is the file name (dise); so that if except with another name, for example, disk, automatically the definitions of the blocks become:

disc_b1
_



Is it possible for you?

Thank you.
 
now I would like to make sure that the first part of the block name is the file name (dise); so that if except with another name, for example, disk, automatically the definitions of the blocks become:

Is it possible for you?

Thank you.
it is not possible,

first you need to rename the blocks and then save with new name
 
it is not possible,

first you need to rename the blocks and then save with new name
Unfortunately the blocks are dozens. If I can't find an automatic method of doing this, I'll have to leave the speech.

Thank you.
 
command: saveasandchgblockname
1) enter the new file name, without extension
2) all blocks containing the character _ are renamed
3) saves the file in the same directory as the source file.

bye
 

Attachments

command: saveasandchgblockname
1) enter the new file name, without extension
2) all blocks containing the character _ are renamed
3) saves the file in the same directory as the source file.

bye
!!!!!!!!! Thank you.

I was sure you could do it. I had no idea how to do it.

You really did me a big favor.

Thank you, raffaele
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top