AUTO numbering and AUTO changing numbers

AUTO numbering and AUTO changing numbers

MichalHakel_SP
Advocate Advocate
1,005 Views
2 Replies
Message 1 of 3

AUTO numbering and AUTO changing numbers

MichalHakel_SP
Advocate
Advocate

Hello,

I would like to ask you for AutoLISP to have an option to create "text or labels or fields" (doesn´t matter) that would be able to auto number my parking areas.

 

More detailed explanation:

WHAT I HAVE

I am just designing new parking House (I attached one floor of this parking house as .dwg file in attachment below and also a .pdf file of this floor plan to better and faster representation).

In this parking House I need to have every parking space marked. I marked it like "P01, P87, P101 etc.) from "P01" to "P269".

I just did it by copying simple text and editing it.

 

WHAT I NEED

However, sometimes I need to change the number of some parking spaces because of changing my floor plan due to whatever reasons.

For example I have to remove parking space "P101" and then change numbers of all the others parking spaces.

 

I would like to have som AutoLISP to mark this parking spaces from "P01" to "P269" and when I remove some of parking spaces with their marked numbers, all numbers of other parking spaces would be changed so I wouldn´t have to change every number manually by editing simple text.

 

Also the AutoLISP should be prepared for future use, (not only for this project) when I will want to change marking for example to A001 instead of P01 etc.

 

Is it even possible to create some AutoLISP like this ? 

 

Thank you for your replies and for your time dedicated to this post.

 

0 Likes
Accepted solutions (1)
1,006 Views
2 Replies
Replies (2)
Message 2 of 3

ВeekeeCZ
Consultant
Consultant
Accepted solution

Tried THIS ?

 

Or THIS , a manual approach. Just select texts, ADD option and -1... it will recognize the number and P prefix.

0 Likes
Message 3 of 3

MichalHakel_SP
Advocate
Advocate

Thank you, it´s enough for purposes I need 🙂

0 Likes