Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change string of text, multitext, dimensions..... to another string

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
miroko
701 Views, 4 Replies

Change string of text, multitext, dimensions..... to another string

Hello,

 

This subject is covered by many posts however i failed to find one which would change string of a text to other for all types of objects. I mean it was usually either only multitext, or only text, dimensions or attributes.

 

Could anyone help in creating one which would change in abt 200 drawings:

-001

-002

-003

 

to:

 

-00001

-00002

-00003

 

in attributes, text, multittext, leaders, multileaders, dimensions..... at the same moment?

 

It is meant to be used in ScriptPro (by loading lisp in script).

If not possible, then can also open each file and run the lisp in each of them - still would save lot of time.

 

 

regards

miroko

 

 

4 REPLIES 4
Message 2 of 5
3wood
in reply to: miroko

Please try attached routine.

Settings as shown below.

Cannot be used in script file now.

It does not work on dimensions but works on leaders (Why dimension? dimensions with text overwrite?)

altext.png

Message 3 of 5
miroko
in reply to: 3wood

Hello

 

Thank you for answer.

Reason why also for dimensions is such that some people used dimension line to describe reference to other drawing.

Some used multiline, some leader, some single line text or multiline text.

 

I understand that your routine will not work as batch, i mean i have to open each file and start command on each file. Reason for script or lisp was to be able to start it through scriptpro and run on all project to save time.

 

I actually found something what fulfills the needs:

 

http://www.lee-mac.com/bfind.html

 

It is very nice routine and can be used for many files, and works on each type of object, including dimensions, blocks, attributes, etc. One can select which type of objects are to be checked.

Can be done on one file or on all opened files or all in some directory.

The only thing is that one must be carrefull as if the routine is accidentally started on all folder and subfolders then it may be messy - so one must check what options is selecting.

 

I will use ''bfind'', but your routine i will also keep in mind for other purposes.

 

regards

miroko

Message 4 of 5
aqdam1978
in reply to: 3wood

Hi 3wood,

where is the attached file? I can't find it!

please upload again

thanks

 

Message 5 of 5
3wood
in reply to: aqdam1978

Sorry, here it is.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost