Message 1 of 3

Not applicable
05-17-2016
08:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all, I couldn't see what the problem with the following line of code is, I wanted to erase text objects in a certain area using the ssget function with a fence. the x coordinates of the fence are 6.18347 and 9.36639 but the y coordinate of the fence varies, so i used a variable 'Y_DIFF' with an int value which would be an input by the user.But when I try the code it says "error: too many arguments"
Here is the code
(setq eraseTxt (ssget "_F" '((LIST 6.18347 (- 1.14754 Y-DIFF)) (LIST 9.36639 (- 1.14754 Y-DIFF))) '((0 . "TEXT"))))
Thanks in advance for your help
Solved! Go to Solution.