I'd like to obtain the entinity name of a selected set . You see , I have used the ssget function to create a selection set of objects , set it on a variable , but I cannot get its entinity name . I want the entinity's name , in order to delte it (not the objects , but only the entinity - probably by using the entdel function) .
You may wonder why do I want to delete an entinity from the data base , instead of deleting the objects .
Well , you see , I have created a function that , among other things , selects some objects by using the Previous statement
( setq MySS ( ssget "P" ) )
then , at some point , recalls itshelf , but even if the user does not select anything , the command still selects the previously selected object , becouse the entinity still exists , even if now the MySS selection set is null ...