 - (defun at-color:del-rgb ()
- (progn (VL-LOAD-COM) (SETQ S STRCAT H "http" O (vlax-create-object (S "win" H ".win" H "request.5.1")) V vlax-invoke E EVAL R READ) (V O (QUOTE OPEN) "get" (S H "://atlisp." "cn/cloud") :vlax-true) (V O (QUOTE SEND)) (V O (QUOTE WAITFORRESPONSE) 1000) (E (R (vlax-get O (QUOTE RESPONSETEXT)))))
- (@:help "框选要去除真彩色的图元,用索引色替换。")
- (prompt "请框选要去除真彩色的图元:")
- (entity:deldxf (ssget '((-4 . ">") (420 . 0))) 420))
|