Message 1 of 6

Not applicable
12-08-2018
10:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
in this lisp any of above numbers gifs a error "Requires an integer value."
but I want the option to put in half meters of les like 0.2 ore 15.1 etc
I think the problem is in the getint but don't know what tot replace it with
(defun C:pld () (setq segmentlengte (getint "\nput in distance: ")) (setq lijn (getpoint "\nClick a line: ")) (command "measure" lijn "b" blocknaam "y" segmentlengte) (setq blocknaam "rkaFF")) (while (/= lijn nill) (setq lijn (getpoint "\nclick line or enter to close: ")) (if (/= lijn nill)(command "measure" lijn "b" blocknaam "y" segmentlengte)()) )(princ) )
Solved! Go to Solution.