Jump to content

Recommended Posts

Posted

I have a survey in 2d. i need to update the level text by adding 0.291 to all the numerical level text in the drawing.

 

Does anyone have a lisp routine to do this.

 

Any help is most appreciated.

 

Iain:cry:

Posted

cheers RK. tried that I get this..error :(

 

Command: ADDVAL

Hinzuzuzählender Wert: 0.291

Select objects: Specify opposite corner: 9979 found, 27 groups

Select objects:

; error: bad argument type: stringp nil

 

any ideas?

Posted

Does anyone have a lisp routine to do this.

Iain:cry:

 

I use this LISP to change numerical values. Hope it works for you :)

P2_lev-values.LSP

Posted

cheers rooster, will give it a go.

Posted

If you do a search for TEXTMATH, yoiu will find a very useful Lisp which does exactly what you are wanting :D

Posted
cheers rooster, will give it a go.

 

No problem - nice to be able to dish out some help for a change!

Posted

Many thanks everyone :D

 

Both work just fine, that has saved me an enormous amount of work.

 

virtual pints on me :D

Posted
cheers RK. tried that I get this..error :(

 

Command: ADDVAL

Hinzuzuzählender Wert: 0.291

Select objects: Specify opposite corner: 9979 found, 27 groups

Select objects:

; error: bad argument type: stringp nil

 

any ideas?

 

That routine works fine as long as you only select TEXT entities. It just doesn't have a TEXT filter on the (ssget) call and the rest of the code is not expecting other entity types.

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...