I want to create a lisp routine for editing text with some restrictions. The best way to explain it is to show it.
I have a text entity with a value xxxx-(yy) occurring multiple times in a drawing.
When I use the ddedit command the whole string appears in the dialogue box for editing. The only thing I want to edit is the area between the parentheses. "yy". I have to select the yy with my mouse hundreds of times in a drawing. I tried creating an attribute block for this task. With the xxxx-( ) as text and the yy as an attribute. This worked OK but sometimes there are more than 2 digits between the parentheses.
Can anyone help and do I need to elaborate further?
Thank you,
Mabjro
I have a text entity with a value xxxx-(yy) occurring multiple times in a drawing.
When I use the ddedit command the whole string appears in the dialogue box for editing. The only thing I want to edit is the area between the parentheses. "yy". I have to select the yy with my mouse hundreds of times in a drawing. I tried creating an attribute block for this task. With the xxxx-( ) as text and the yy as an attribute. This worked OK but sometimes there are more than 2 digits between the parentheses.
Can anyone help and do I need to elaborate further?
Thank you,
Mabjro