Jump to content

Recommended Posts

Posted

I installed a vlx routine called ednum, the function is to edit only the number character inside a text.

Works very fine but in a string 2" x 2" x 1/8", only replaces the first number.

Is there any way for you guys to make a lisp that allows me to edit not only the first but the other numbers?, and if it's possible to edit also numbers inside an attribute string?

Thanks in advance for your help.

Posted (edited)

What about "find" & replace you can select a group of objects including blocks with attributes it will change all occurances up to looking in entire drawing in one go

 

Bit of caution though looking for 2 can be every where in a "entire drawing"

Edited by BIGAL
warning
Posted

To BIGAL, you are very right, the Find command is very useful, but as you pointed correctly, in every drawing there are lots of strings with the value of "2", that's the reason that in this case is not useful.

To Lee Mac, great routine, very useful too, but unfortunately not what I'm looking for, this is an example:

 

I have an attribute or a text or a Mtext that reads: STEEL ANGLE 2" x 2" x 1/8" and for this case I only want to change the last number, change the 8 for a 4

 

Any suggestion much be appreciated, thanks in advance, and sorry for taking too much of your time.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...