Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Member
3 Posts
0 Kudos
Registered: ‎01-30-2013
Post 1 of 3

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

398 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*
6,043 Posts
671 Kudos
Registered: ‎09-13-2004
Post 2 of 3

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*
1,187 Posts
128 Kudos
Registered: ‎03-25-2009
Post 3 of 3

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!