Jump to content

Tough Questions - Attribute Lisp


Recommended Posts

Posted

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?

Posted

Thank You BIGAL, I will look into this and let you know how things go.

Posted

I think most of the code in that thread is mine... so if you need help with it, shout :)

Posted

Isn't John asking about multiple drawings? The very last post in that thread says it doesn't work on multiple drawings.

Posted
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.

Posted
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.

Posted
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:

Posted

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.

Posted
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.

Posted

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.

Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...