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

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

326 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,394
Registered: ‎09-13-2004
Message 2 of 3 (316 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,030
Registered: ‎03-25-2009
Message 3 of 3 (310 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.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

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