add suffix "(A)", "(B)", "(C)" to block Dimension text

add suffix "(A)", "(B)", "(C)" to block Dimension text

jaggisingh003
Advocate Advocate
993 Views
5 Replies
Message 1 of 6

add suffix "(A)", "(B)", "(C)" to block Dimension text

jaggisingh003
Advocate
Advocate

Hello,

i want a lisp to add suffix "(A)", "(B)", "(C)" to block Dimension text.

 

i found a code by lee mac for find replace text.
but it replace text in all blocks in drawing. 

 

Please help for this code replace selected block Dimension Text only.

 

Sorry for my English

0 Likes
994 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable

Hello @jaggisingh003 
Can you be more clear? Do you want to change the name of the blocks?

0 Likes
Message 3 of 6

Kent1Cooper
Consultant
Consultant

Do you mean Dimension objects nested inside Inserted Blocks?  If so, when you change the text content in one of them, it will change in all  Blocks of the same name.  A sample drawing would be helpful, with before and after conditions indicated.

Kent Cooper, AIA
0 Likes
Message 4 of 6

jaggisingh003
Advocate
Advocate

Sample of Drawing is attached.

The block present in the Drawing is perfectly doing fine when i require it for some of the drawings but when i have to exchange the Dimension suffix "(A)" with "(B)" or "(B)" with "(C)" then it get changed for all the blocks so i always have to Explode the Block which is a tedious task so tell me a way out that how i can add suffix SD "(A)", "(B)", "(C)" to block Dimension without letting it changed in the blocks i had used earlier.

0 Likes
Message 5 of 6

Anonymous
Not applicable

Why explode if you can use ATTSYNC ?
Add a suffix here?

 

Capturar.PNG

0 Likes
Message 6 of 6

jaggisingh003
Advocate
Advocate

The Arrow shown in picture are not attributes that  A,B,C  Dimensions. and  i want to add suffix to dimension . Eg. SD=Dimension text (A), (B), or (C)...

0 Likes