求助:令人困惑的问题!
- (defun c:q()
- (setq s1 (getstring "\n请输入构件编号: "))
- (setq lastent (entget (entlast)))
- (setq appname "newdata1")
- (if(not (tblsearch "appid" appname))
- (regapp appname)
- )
- (setq exdata '((-3 (appname (1000 . s1)))))
- (setq newent(append lastent exdata))
- (entmod newent)
- )
运行以后,exdata的值怎么是(-3 (APPNAME (1000 . S1)))? |