mflorindi Posted September 20, 2012 Share Posted September 20, 2012 Hello all, Hopefully this will be pretty simple. ACAD 2006 has no explanation on the user prompts once -attedit is used. I'm simply working on a title block (head2) in tag (item) where my item type changes for many drawings based off what type of drawing it is. The customer wants to use PKG across the board. So I'm looking for a way to change "anything in item tag" to . Here's the command: Command: -attedit Edit attributes one at a time? [Yes/No] : n Performing global editing of attribute values. Edit only attributes visible on screen? [Yes/No] : n Drawing must be regenerated afterwards. Enter block name specification :head2 Enter attribute tag specification :item Enter attribute value specification :Help!!!! What is this???? Can I use a wildcard? 57 attributes selected. Enter string to change: "Would be my wildcard" New string: PKG Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 20, 2012 Share Posted September 20, 2012 Would the following script-based program help at all? http://lee-mac.com/batte.html Quote Link to comment Share on other sites More sharing options...
mflorindi Posted September 20, 2012 Author Share Posted September 20, 2012 Would the following script-based program help at all? http://lee-mac.com/batte.html Darn Lee, This looks like a dream .lsp....... and with batch capability already built in. Thank You Sir! Quote Link to comment Share on other sites More sharing options...
dbroada Posted September 20, 2012 Share Posted September 20, 2012 its been a long time since I used -ATTEDIT but from memory you cannot use a wildcard. ? and * are taken literally so you would have to provide all possible combinations. hopefully Lee's LISP will serve you better. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 20, 2012 Share Posted September 20, 2012 Darn Lee, This looks like a dream .lsp....... and with batch capability already built in. Thank You Sir! You're very welcome mflorindi - let me know how you get on with it Quote Link to comment Share on other sites More sharing options...
mflorindi Posted September 20, 2012 Author Share Posted September 20, 2012 You're very welcome mflorindi - let me know how you get on with it This works flawlessly. I'd love to see the capability to change a string on a tag added to it. But hey, beggars can't be choosy! lol This is a great routine and will save me hours of work. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 20, 2012 Share Posted September 20, 2012 This works flawlessly. I'd love to see the capability to change a string on a tag added to it. But hey, beggars can't be choosy! lol This is a great routine and will save me hours of work. That's great to hear mflorindi! I'm really glad that the program is working well for you. Though, I'm not sure what you mean by "capability to change a string on a tag" - are you looking to change the attribute tag name? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.