Author Topic: Copy text into attributes  (Read 2236 times)

0 Members and 1 Guest are viewing this topic.

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Copy text into attributes
« on: March 12, 2015, 06:24:41 AM »
I have just done a drawing where I had over 1000 text objects (all different number/letter combinations) and they all needed to be pasted or typed into a multi-line attribute.

For this I copied the text, then pasted into the attribute editor... obviously a time consuming job... is there an easier method to get this job done?  (I may have more of these to do going forward!)
Thanks for explaining the word "many" to me, it means a lot.

Rob...

  • King Gator
  • Posts: 3824
  • Take a little time to stop and smell the roses.
Re: Copy text into attributes
« Reply #1 on: March 12, 2015, 07:40:21 AM »
Ugh.

Were you pasting all 1000 objects into a single or multiple attributes?
CAD Tech

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Copy text into attributes
« Reply #2 on: March 12, 2015, 07:48:07 AM »
I had more than 1000 blocks (3 or 4 block definitions) with different text to go into every single one (different numbering notations).
The text was already on the drawing, but it needed to go into the block attributes. The block attributes were all multiline attributes.
One block of mtext into one block, move onto the next block, rinse and repeat.
If it makes sense...
Thanks for explaining the word "many" to me, it means a lot.

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: Copy text into attributes
« Reply #3 on: March 12, 2015, 07:57:29 AM »
I hope you were using LeeMac CopyText Routine.  <i think its his?>

Nope it is Alanjt

CopyText.lsp: Copy/Swap Text/MText/Multileader/Attribute Values 
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

Rob...

  • King Gator
  • Posts: 3824
  • Take a little time to stop and smell the roses.
Re: Copy text into attributes
« Reply #4 on: March 12, 2015, 07:58:46 AM »
Yeah, I would not want to have to do all that even once.

You are probably looking at using code but it would still require you to select the text and then the attribute it goes into.
CAD Tech

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: Copy text into attributes
« Reply #5 on: March 12, 2015, 08:01:13 AM »
yeah you still have to select by at least it saves a step or two
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Copy text into attributes
« Reply #6 on: March 12, 2015, 08:06:42 AM »
No I wasn't using that... it was "good old" copy/paste sigh.

I will download that and have a play, thanks :)
Thanks for explaining the word "many" to me, it means a lot.

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Copy text into attributes
« Reply #7 on: March 12, 2015, 08:21:44 AM »
Oh that works wonderfully.  I wish I had asked before I started... however I hadn't realised how big the task was!

Thanks for everyones help!
Thanks for explaining the word "many" to me, it means a lot.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Copy text into attributes
« Reply #8 on: March 12, 2015, 09:14:19 AM »
An old one, work by coping the source object.
http://www.theswamp.org/index.php?topic=6874.msg498989#msg498989
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Copy text into attributes
« Reply #9 on: March 12, 2015, 09:33:15 AM »
Thanks CAB. I'll download that and try it too :)
Thanks for explaining the word "many" to me, it means a lot.

danallen

  • Guest
Re: Copy text into attributes
« Reply #10 on: March 12, 2015, 12:34:27 PM »