CompuServe Messages

AVOIDING BAD ENTMOD

    23-Feb-92 19:57:45
Fm: Tony Tanzillo [LISP TM] 71241,2067
To: Jeff Masterson 70334,66
Jeff – I think I responded to your first message on this, along with Duff. Did you receive it? Anyways, both Duff and myself asked you to provide a specific example, and you haven't done that. We see the (entmod) expression, but you cannot ask us to *guess* exactly where the value you are passing to (entmod) is coming from, and that is where your problem lies. Keep in mind that (entmod) is the most direct means of modifying AutoCAD's database, and hence, there is NO USER INTERFACE to it – that part is the responsiblity of your program, to obtain the input, validate it, and if necessary, reject it if it is not appropriate. Now, if you can show us how you are obtaining the input, and what you do with it before attempting to hand it to AutoCAD via (entmod) then perhaps we can suggest something, but we cannot tell you what is wrong with some- thing that we haven't ever seen before. -TonyT.