TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: RamiMann on May 27, 2023, 04:30:42 AM
-
Hello
I'm looking for a lisp that adds a thousands separator for a selection set of text (not a single text)
Thanks
-
do you have a sample drawing, is the number embedded with other text?
-
Here's a sample
-
This should work:
(defun c:foo
( / old new ss i j ob sep
) (setq sep
(car (vl
-string
->list ","))) ;; tausend separator i 1
new nil
)
)
)
)
)
)
)
-
This should work:
error: no function definition: MOD
-
rem ?
-
This should work:
error: no function definition: MOD
What CAD software are you using? Using rem instead of mod like Beavis suggested would probably work.
-
It worked perfectly
Thanks a lot
-
This should work:
error: no function definition: MOD
What CAD software are you using? Using rem instead of mod like Beavis suggested would probably work.
CAD 2021
-
It worked perfectly
Thanks a lot