Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Member
rboyerPLS
Posts: 3
Registered: ‎01-30-2013
Message 1 of 3 (388 Views)

Increase/Decrease Numerical Value in Text - Civil 3D 2013

388 Views, 2 Replies
02-13-2013 12:53 PM

Is there a LISP routine in Civl 3D 2013 that would add a specific numerical amount to text?  IE:  I have a sewer label as "Top=100.00" and I wanted to add 0.30 to the text so that it reads "Top=100.30".

 

There used to be an old R14 LISP known as ADDTXT that I used that worked great for this.

 

Any suggestions?

 

Thanks!

*Expert Elite*
Kent1Cooper
Posts: 5,879
Registered: ‎09-13-2004
Message 2 of 3 (378 Views)

Re: Increase/Decrease Numerical Value in Text - Civil 3D 2013

02-13-2013 01:51 PM in reply to: rboyerPLS

rboyerPLS wrote:

Is there a LISP routine in Civl 3D 2013 that would add a specific numerical amount to text?  IE:  I have a sewer label as "Top=100.00" and I wanted to add 0.30 to the text so that it reads "Top=100.30".

 

There used to be an old R14 LISP known as ADDTXT that I used that worked great for this.

....


Is the problem that you don't have that routine any more?  If so, a quick Search reveals that this is where it must have come from.  If you do have it, but it doesn't work any more, it could probably be made to without as much effort as starting from scratch.

Kent Cooper
*Expert Elite*
3wood
Posts: 1,153
Registered: ‎03-25-2009
Message 3 of 3 (372 Views)

Re: Increase/Decrease Numerical Value in Text - Civil 3D 2013

02-13-2013 02:54 PM in reply to: rboyerPLS

Please try attached routine.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.