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 (363 Views)

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

363 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,606
Registered: ‎09-13-2004
Message 2 of 3 (353 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,088
Registered: ‎03-25-2009
Message 3 of 3 (347 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
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.