TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: deerailed77 on October 24, 2016, 03:32:59 PM

Title: Attribute Edit - customers sorry boarder
Post by: deerailed77 on October 24, 2016, 03:32:59 PM
I have a customer that has created a boarder that where the revision, date, description, cad, checked and approved are all tagged the same,  I have a lisp routine that work if they were tagged differant, but will not work on this customers drawing. 

what I need is a lisp that will change the contents of multiple items at once all with different values based on where its at in the attributed block and not based on the tag name.

say i need to change the 3rd, 5th, 9th, 11th attribute regardless of whats in the cell and or it can even be blank. 

example

revno   date   desc   cad   chkd   app
revno   date   desc   cad   chkd   app
revno   date   desc   cad   chkd   app



I know it should be like this and if it was I have it.
revno1   date1   desc1   cad1  chkd1  app1
revno2   date2   desc2   cad2  chkd2  app2
revno3   date3   desc3   cad3  chkd3  app3
Title: Re: Attribute Edit - customers sorry boarder
Post by: CAB on October 24, 2016, 03:57:57 PM
One of my old LISP's that may work for you.
http://www.theswamp.org/index.php?topic=10216.0
Title: Re: Attribute Edit - customers sorry boarder
Post by: ronjonp on October 24, 2016, 04:19:42 PM
If you know the positions you want to edit, you could do a filter for the block name then change the attribute values in the property palette.