Jump to content

Recommended Posts

Posted

AutoLabel.gif

 

 

Can anyone help me realize this?

With permission of Lee-Mac this List (http://www.lee-mac.com/autolabelattributes.html) offers a great help, giving us the possibility of knowing automatically, by attributes, the total number of a block (A). This value is an attribute.

Could have one text that would give us the highest value of the attribute of the block (A)?

 

I would like something

 

AutoLabel 2.gif

 

New text I can move?

 

Thanks for giving me permission Lee Mac

Sorry for my bad English

Posted

You have almost answered your own question in Lee's code above he refers to using reactors the TOTAL Num would be an additional reactor if the blocks are changed then the Total number is updated, somewhere in Lee's code there will be a way of counting up how many blocks there are then its a simple case of updating a different block.

 

The number of a particular block at any time in a dwg is very simple use ssget search for block then sslength tells you how many.

 

I am sure Lee will answer

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...