Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

-ATTEDIT

$
0
0

I am using -ATTEDIT in script in order to change the drawing name in the titleblock.

I don´t know what the current value is, I want to change whatever it is to a new one.

What I get is new name appended to the old name.

Is there a way to replace the old value with a new one?

Command: -ATTEDIT

Edit attributes one at a time? [Yes/No] <Y>: n

Edit only attributes visible on screen? [Yes/No] <Y>: n

Enter block name specification <*>: MyBlock

Enter attribute tag specification <*>: MyTag

Enter attribute value specification <*>: I don´t know! I want to erase that! I hit Enter!

1 attributes selected.
Enter string to change: I don´t know! I want to erase that!
Enter new string: New Name

Result: New Name+Old Value.

 

What I want is just New name.


Viewing all articles
Browse latest Browse all 14319

Trending Articles