• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

automatic rename a series of blocks with progressive numbers

  • Thread starter Thread starter SteveGiova
  • Start date Start date

SteveGiova

Guest
Hello, everyone. I need to rename all existing blocks in a design with different names even random, like all numbers etc. Since for drawing I create maybe 30-40 blocks each time doing them manually is a waste of time. is it possible to automate this procedure with an autolisp?
calling all blocks in numbers from 1-100 for example?
Thank you.
 
I had made a lisp that did (approximately) what you ask: it's called rinblock.

In fact, once launched, you need to click on the block (the current name appears) and type another name, or send and then click on a text (not mtt or quota) to assign that name.

the command continues until you click in an empty area or send. attention that, until the command is finished you can not give the same name again (I did not put a check for repeated names wrongly).

to do what you ask, that is to put progressive numbers as names, I would recommend you to write texts of numbers near the block to be renamed, perhaps using my numera command (option "s") that allows you to create numbers in succession; then launch rinblock and go first click on the block, then send to selez the number, then click on the number .... and so on until the end of the blocks.
 

Attachments

I was already doing that thank you so much has already speeded up my work.. but I would like a lisp that automatically takes all the blocks of a drawing and renounce them with sequential numbers so you have all the different names. I need x when I need to remake the fields x the drawings at 1:100 that normally I do at 1:200 and if in the same sheet I have the same design with the different stairs I have to have the renamed blokki. Can you help me?
 
Excuse me but at this time I have really little time to make a new lisp from scratch...
... but as soon as I'm free, I'll gladly help you.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top