PDA

View Full Version : Copy/Increment Text



Rupert9819
5th Nov 2007, 09:22 pm
Hey guys quick question. I dont know how many people here are familiar with MicroStation but there is a command where say you have text you are able to copy it and everytime you copy it the number increases/decreases depending on the value you put in.

Example if my text increment is set to 2 and I have 23, when I copy it and place it, it then turns in 25.

lpseifert
5th Nov 2007, 09:28 pm
Lots of routines out there, here's one

Rupert9819
5th Nov 2007, 10:00 pm
Oh man thats awesome. I didnt not even think of doing a search until after I posted this. Thanks a lot man it works great!

chris_birkbeck
21st Feb 2008, 04:30 pm
I needed this command too, but I opened the file and all I got was some text. What do I do with this text to make it work?

I tried pasting it into the command slot at the bottom of the screen, but it did not work. I don't know anything about this programming stuff.

I am used to Microstation where you can copy and increment text. I am stuck here with this drawing where I want to put in terminal blocks. I don't want to have to put every one in manually. I should be able to enter 01 at the top and have it fill in say 56 terminals consecutively at one shot.

How do I do this? I can't believe that Autocad still does not have a command for this. Microstation had this command way back in 1983 when I was first using it as Intergraph on a mainframe.

The mind boggles!

lpseifert
21st Feb 2008, 04:47 pm
I needed this command too, but I opened the file and all I got was some text. What do I do with this text to make it work?

The mind boggles!
Look here... (http://www.cadtutor.net/faq/questions/28/How+do+I+use+an+AutoLISP+routine%3F)

chrisdarmanin
21st Feb 2008, 04:52 pm
there is also a way to do it in express tools

chrisdarmanin
21st Feb 2008, 04:55 pm
automatic text numbering

chris_birkbeck
21st Feb 2008, 04:58 pm
Thank you so much. Yes I have it working now, however it does not seem to accept '01', '02' and so on. How do I get it to recognise the zeros, also how do I get it to increment the numbers automatically?

For instance, if I pick, (or fill in), '01' then it should ask how many copies I need and then fill and increment that number upto say 46.

SLW210
21st Feb 2008, 05:49 pm
Lots of routines out there, here's one

Like lpseifert said, lots of these routines out there. If you will search on here, I believe you will find what you want, seems like someone in the LISP,VBA & Customisation section asked for something like this a few months ago. If not a Google might turn up something.

Also give the "Similar Threads" at the bottom of this page a look.