Author Topic: New attributes for all blocks on a layer  (Read 1153 times)

0 Members and 1 Guest are viewing this topic.

Rogcad

  • Mosquito
  • Posts: 4
New attributes for all blocks on a layer
« on: July 27, 2020, 02:04:13 AM »
I am having a lot of problems with this task! (understatement actually)

My drawing has a number of blocks with one single attribute, all on one layer. (not done by me)

I need to
(1) add a lot of identical new attributes to all these blocks. (ie an identical set of attributes to each block)
(2) later allow the user to edit the attributes
 

I have done basic LISP but have virtually no experience with VL. I have had an extensive trawl through this and other sites but cannot quite find (or understand) enough to make a start.

Any help or guidance appreciated.

thanks
Roger

BIGAL

  • Swamp Rat
  • Posts: 1398
  • 40 + years of using Autocad
Re: New attributes for all blocks on a layer
« Reply #1 on: July 27, 2020, 02:44:44 AM »
Using Bedit can do what you want.

Google add attribute to block the code exists all ready. Same search here !
A man who never made a mistake never made anything

Rogcad

  • Mosquito
  • Posts: 4
Re: New attributes for all blocks on a layer
« Reply #2 on: July 28, 2020, 01:33:42 AM »
Thanks

Rogcad

  • Mosquito
  • Posts: 4
Re: New attributes for all blocks on a layer
« Reply #3 on: July 28, 2020, 01:34:51 AM »
Thanks BigAL, I'll look at these and see what I can do!

BIGAL

  • Swamp Rat
  • Posts: 1398
  • 40 + years of using Autocad
A man who never made a mistake never made anything

Rogcad

  • Mosquito
  • Posts: 4
Re: New attributes for all blocks on a layer
« Reply #5 on: July 29, 2020, 02:30:18 AM »
Thanks again - yes this works well in adding attributes and has got me started
I will now look at a separate routine to edit some of the attributes while looping through objects - will need to look at dialogue entry which is new territory for me although there are some good tuition postings out there.