PDA

View Full Version : MULTIPLE attribute edit



Cparnell
13th Feb 2003, 10:41 pm
:?: A2K has a command called Global Attribute. Meaning that it will update similar "TAG names" of a block. However it will only update the same TAG names of a block with the same name. (If I have three different size borders in a drawing, all with one of the TAGS of "THE CLIENT" it will only update the TAG "THE CLIENT" for blocks with the same name.
I found a LISP routine on Cadalyst web site called MATTC.LSP (May 2000) that is supposed to update all TAGS with the same name. However it will only edit up to 6 tags. My borders have TEN tags to fill out.

Does anyone have a dialog box based routine that will globally edit all same name TAGS for "ALL" blocks?

I was able to edit the routine to except up to eight attributes, but since I know very very little about LISP, (I mean very little about LISP), there were problems with it coping the same input information in several locations.

Thanks for any help that any one may offer!!

CADTutor
14th Feb 2003, 08:11 am
This is a pretty straightforward process using LISP. If only I had the time...

Perhaps our resident LISP genius can help (sorry fuccaro).

fuccaro
14th Feb 2003, 11:39 am
Thank you CadTutor. You always make me happy with your appreciation
I write “real” programs at my office, and “half hour” programs at home. The “real” programs are the property of the Company; I will not publish them in the forum.
I am not proud of my latest “half hour” programs, from some time I am very busy at home
- (you may check this link for details: http://fuccaro.netfirms.com/m4.jpg )
Cparnell
Sorry to tell this, but attribute manager routine is not on my priority list.
I checked the cadalyst web site, the last sentence of the author about this routine is:
“As always, contact me if you have any comments or other requests."
It is OK for me if somebody will modify my Lisp routines, (to add more functions, to make them easy to use...) but I am not sure how will react an other person. So my advice is: ask him to operate the modification, maybe he will thank you.

CADTutor
14th Feb 2003, 02:06 pm
CONGRATULATIONS :D