johnshar123xx Posted November 30, 2009 Posted November 30, 2009 Tough Questions - Attribute Lisp AutoCAD 2007 I have a quite a few tough questions/requests and I am currently looking for some lisps to solve them. I have been doing some searching online to find the lisps I need, and although I have been able to find some stuff, I still have some things that I can't seem to find exactly what I am looking for. I would like to take the opportunity ahead of time to thank every who views my questions and for any help that is given. Okay, I will basically explain the scenario that I ran into a couple days ago, and hopefully see if anyone has an effective solution for it. I have a set of lets say 30 drawings (each are separate .dwg files - NOT 30 layout tabs in one .dwg file) and each one has a drawing border setup in the paperspace layout tab. Each of the 30 drawings that have a border, also have an attribute that contains editable text needed for each drawing (For example: specific title per sheet, specific sheet number per sheet, etc.). Now lets say that someone sends you an updated attribute for your drawing border that has in general the same information needed, but the fonts used are different, and the text size is different. Now you have to put this new attribute in each of your 30 drawings and retype all the information from the old attribute into the new attribute. Does anyone know if there is a lisp that can take the old information from your original attribute and, convert to, or fill out that information to the new attribute? Quote
BIGAL Posted December 1, 2009 Posted December 1, 2009 Check this out probably what you want http://www.cadtutor.net/forum/showthread.php?t=33971 Quote
johnshar123xx Posted December 1, 2009 Author Posted December 1, 2009 Thank You BIGAL, I will look into this and let you know how things go. Quote
Lee Mac Posted December 1, 2009 Posted December 1, 2009 I think most of the code in that thread is mine... so if you need help with it, shout Quote
SteveK Posted December 1, 2009 Posted December 1, 2009 Isn't John asking about multiple drawings? The very last post in that thread says it doesn't work on multiple drawings. Quote
Lee Mac Posted December 1, 2009 Posted December 1, 2009 Isn't John asking about multiple drawings? The very last post in that thread says it doesn't work on multiple drawings. Well, there is this for multiple drawings, but I wouldn't recommend ODBX as, without the Arx supplement, you lose the drawing thumbnail. Quote
SteveK Posted December 1, 2009 Posted December 1, 2009 Well, there is this for multiple drawings, but I wouldn't recommend ODBX as, without the Arx supplement, you lose the drawing thumbnail. That's the link I'd suggest. What do you mean by losing the drawing thumbnail? I don't think I'm aware of this. Quote
Lee Mac Posted December 1, 2009 Posted December 1, 2009 That's the link I'd suggest.What do you mean by losing the drawing thumbnail? I don't think I'm aware of this. Its a known bug of ODBX - it happens when you save the drawing through ODBX without using the Arx supplement. :wink: Quote
SteveK Posted December 1, 2009 Posted December 1, 2009 Haven't you got the arx supplement in your code? I likely don't understand what an arx supplement is... I suppose losing a thumbnail isn't so bad, there's worse things that can happen. Quote
Lee Mac Posted December 1, 2009 Posted December 1, 2009 Haven't you got the arx supplement in your code? I likely don't understand what an arx supplement is... I suppose losing a thumbnail isn't so bad, there's worse things that can happen. No, I don't normally supply it - but it is available at theSwamp in multiple threads. Quote
johnshar123xx Posted December 2, 2009 Author Posted December 2, 2009 I would like to take the time to thank you all for spending the time to help me out with my questions. The response I have been getting is great, feels good that there are people out there willing to help out. I was unable to get this lisp to work even in a single drawing, but you are right, I would like it update all the border attributes in multiple single dwg drawings. I will go to the link for the multiple drawing one and I will try to find the arx file you mentioned and let you guys know how it goes. Quote
SteveK Posted December 2, 2009 Posted December 2, 2009 Both Lee's program or Lee's program that I modified slightly asks you for an attribute tag then the new text. It will then let you pick a folder and will update the attribute in all the drawings found in this folder. There's probably instructions about it somewhere but just giving you the heads up. steve Quote
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.