Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
All,
I am suddenly getting an error when I use the following function:
(defun removetext ()
(command "_.erase" (ssget "X" '((0 . "TEXT,MTEXT"))))
(princ "\nText removed from drawing")
)
The error is:
*Invalid selection*
Expects a point or Window/Last/Crossing/BOX/ALL/Fence/WPolygon/CPolygon/Group/Add/Remove/Multiple/Previous/Undo/AUto/SIngle/SUbobject/Object
1 found
I believe it to be the ssget function. It had worked before but now it only seems to work in a specific drawing. Any idea why it is suddenly generating this error?
Solved! Go to Solution.