TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: V-Man on April 07, 2011, 03:18:23 PM

Title: Attribute rename
Post by: V-Man on April 07, 2011, 03:18:23 PM

I have a problem and I would like a lil help. I have a block with some attributes. This block is inserted over a thousand times in the CAD drawing and data filled in the attributes. I have since renamed some of the attributes and I want to re-define all blocks in the drawing but keep the existing data for each block. How can I accomplish this globally?

Block Name = Space

Old Block   Attributes   New Block Attributes
BLDGID         BLDG#
FLRID         FLR#
CUSTOM         SPACENAME

Any help is appreciated.
Title: Re: Attribute rename
Post by: Matt__W on April 07, 2011, 03:22:22 PM
Na-na-na-na-na-na-na-na-na-na  BATTMAN!!
Title: Re: Attribute rename
Post by: V-Man on April 07, 2011, 03:27:05 PM
Quote
Na-na-na-na-na-na-na-na-na-na  BATTMAN!!

Ah, simple solution and it works.

Thanks
Title: Re: Attribute rename
Post by: alanjt on April 07, 2011, 03:32:14 PM
(http://www.theswamp.org/screens/BatManElephant.jpg)
Title: Re: Attribute rename
Post by: dgorsman on April 07, 2011, 03:33:48 PM
Na-na-na-na-na-na-na-na-na-na  BATTMAN!!

I tell users to send up the Bat-signal, just to see the look on their faces.   :-D
Title: Re: Attribute rename
Post by: CAB on April 07, 2011, 03:48:52 PM
Didn't he (the first Bat man) commit suicide?
Title: Re: Attribute rename
Post by: alanjt on April 07, 2011, 03:52:21 PM
Didn't he (the first Bat man) commit suicide?

There was one before Adam West?
Probably had to do with Autodesk using his character name as a command.
Title: Re: Attribute rename
Post by: pBe on April 08, 2011, 08:44:47 AM
Holy Attributes BATTMAN! - Robin
Title: Re: Attribute rename
Post by: barc on April 08, 2011, 03:10:04 PM
Didn't he (the first Bat man) commit suicide?
Superman Christopher Reeve commited suicide (maybe maybe not depending on who you ask) dunno 'bout no Batman.
Title: Re: Attribute rename
Post by: pBe on April 09, 2011, 03:32:18 AM
Superman Christopher Reeve commited suicide (maybe maybe not depending on who you ask) dunno 'bout no Batman.

What?!? before Adam West (which is still very much alive) there was  Lewis Wilson and Robert Lowrey, where does Christopher reeve fit in on all this  :-)
maybe they meant George Reeves (which incidentally is indeeed Superman)
Title: Re: Attribute rename
Post by: barc on April 09, 2011, 10:17:45 AM
Got my Reeve and my Reeves cross-wired, Superman George Reeves commited suicide (depending on who you believe)
Title: Re: Attribute rename
Post by: Jeff H on April 09, 2011, 10:47:21 AM
Got my Reeve and my Reeves cross-wired, Superman George Reeves commited suicide (depending on who you believe)

How did he do it?
Eat some Kryptonite.