Message 1 of 9

Not applicable
11-07-2016
11:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I seem to be struggling with using variables as points. Can anyone point me in the right direction?
(defun c:test ( / topright bottomleft dwgarea a b c d ) (setq bottomleft (getpoint "Please pick a point in the Bottom Left corner of the drawing area:") topright (getpoint "Please pick a point in the Top Right corner of the drawing area:") a (+ (car bottomleft) 0.1) b (+ (cadr bottomleft) 0.1) c (- (car topright) 0.1) d (- (cadr topright) 0.1) bottomleft '(a b) topright '(c d) dwgarea '(bottomleft topright) ) (print a) (print b) (print c) (print d) (setq testss (ssget "_W" 'bottomleft 'topright '((0 . "TEXT")))) (command "change" testss "" "Properties" "Color" "5" "" "") )
Just getting Bad Point argument or too many arguments 😕 Cheers
Solved! Go to Solution.