Message 1 of 17
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I make a lisp for chainage marker. but i want to put "+" character in intro the number.
Ex:
Lisp make like this
5560.256
10201.250
15020.000
But I want like this
5+560.256
10+201.250
15+020.000
Please somebody help for modify this lisp code.
(defun c:ch (/ p1 ptx ro) (setq P1 (getpoint "\nPick Chainage: ")) (setq ptx (car p1)) (setq ro (* 90 (/ pi 180))) (progn (entmakex (list (cons 0 "TEXT") (cons 40 0.1) (cons 10 p1) (cons 50 ro) (cons 1 (strcat (rtos ptx 2 3))) ) ) ) (princ) )
Solved! Go to Solution.