Jump to content

Anyone see a routine in their travels that does this? (block numbering)


Recommended Posts

Posted

Not sure how to even frame the question...
Given a block like this:

image.png.6c7b225627f25f869ef360467b6f823e.png

 

If it is inserted and is the first instance, change the text to 01, each additional insert will be numbered based upon the total number of that particular block being inserted.
Can the text be text/mtext or would it have to be an attribute?
I suppose it would search the block table when it is run and number additional inserts based upon the total existing in the drawing at the time of the insert.
Has anyone seen such a routing/proggie that does that?

If I used diesel (or other) could the numbers update automatically if one is deleted either by regen or some other trigger?
Based upon their order within the blocktable?

I do not even know how to search on something like this...

Since I figured something would have to be written, I asked here but other forums might know of solutions..
 

Posted

This is a good video that explains lisp and how to do autocount block 

 

Posted

TCOUNT Express Tool.

 

There used to be quite a few LISPs and Programs around to do that, you'll need to find one that suits your needs best.

 

I use Lee Mac's from time to time.

 

AutoCAD Mechanical has Balloon which works with a BOM and all sorts of options.

Posted

Think this can also be done with dynamic blocks less automated but will prompt you for inputs when inserted into a drawing.

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...