Attribute Block incremental numbering in mleader

Attribute Block incremental numbering in mleader

gwomackSZT2N
Participant Participant
452 Views
2 Replies
Message 1 of 3

Attribute Block incremental numbering in mleader

gwomackSZT2N
Participant
Participant

I am trying to use Lee-Mac's incremental numbering suite (http://www.lee-mac.com/numinc.html)

 

I have attached the file I've been using to try and design a dynamic block around this program to use in an mleader.

What I am trying to do:
create a custom rectangle block with an attribute tag. load the block in numinc program. create a custom mleader style that will show the incremental number in the mleader.

I just can't get it to work. I've tried so many settings over the last week with no luck. I can't tell if it is a setting im not turning on or im just not doing it right. I would like the number to be able to have a suffix of 001 and incrementing by 1. I use the prefix as the floor number im working with in my drawing. so the mleader ends up reading something like "1001" or even up to 2 digit floors "11001" inside the rectangle

What ends up happening is the incrementing block will show up when I click out of the numinc program and works fine as a block in the program. not as a leader though. the second I try to use the command mleader and place it somewhere the box shows but blank in the rectangle???

Anyone have any ideas on what I'm doing wrong?

0 Likes
453 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend

@gwomackSZT2N wrote:

Anyone have any ideas on what I'm doing wrong?


You cannot build a LISP into a Dynamic Block 🙂

Same for Mleaders with blocks, your free LISP and a few others I tested don't work on those object types either. Sorry.

0 Likes
Message 3 of 3

vinodkl
Mentor
Mentor

Hello @gwomackSZT2N 

 

Here is lisp which you can use to do that. I have modified a lisp created by Pbejse. Load the lisp using the command "APPLOAD" and then type in the command "INCAT", then you can add the prefix, but as per your description if you want numbers to simply start with 100 and then increment to 101 then you can skip the prefix by just pressing enter. Next you can enter the 100 and start placing the mleader which will increment as you place. Let me know if this helps 🙂

--------------------------------------------------------------------------------------------------------------------------
ವಿನೋದ್ ಕೆ ಎಲ್( System Design Engineer)
Likes is much appreciated if the information I have shared is helpful to you and/or others.

Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.
--------------------------------------------------------------------------------------------------------------------------
0 Likes