»ö¹Ù²Ù±â
AutoCAD¿¡¼ entityÀÇ »öÀ» ¹Ù²Ù´Â ¹æ¹ýÀº ¸î°¡Áö°¡ ÀÖ½À´Ï´Ù. chprop, ddchproµî ÀÌ ±×°ÍÀÔ´Ï´Ù. ÇÏÁö¸¸ ÀÌ·± ¸í·ÉµéÀ» »ç¿ëÇÏ¿© »öÀ» ¹Ù²Ù·Á¸é ÇѹøÀÇ Å°ÀÔ·ÂÀ» ´õ ÇØÁà¾ß ¿øÇÏ´Â »öÀ¸·Î ¹Ù²Ü ¼ö ÀÖ½À´Ï´Ù. ÀÌ·¯ÇÑ ºÒÆíÀ» ¾ø¾Ö°í ºü¸£°Ô »öÀ» ¹Ù²Ü ¼ö ÀÖµµ·Ï ¾Æ·¡¿Í °°Àº ÇÁ·Î±×·¥À» ¸¸µé¾ú½À´Ï´Ù.
CH1, CH2, CH3, CH4, CH5, CH6, CH7
»ç¿ë¿¹ command: ch1 [entityÀÇ »öÀ» »¡°£»ö(color=1)À¸·Î ¹Ù²Ù±â] Select objects: {entity¼±ÅÃ} Select objects: [entity¼±Åà ³¡³¿]
CH1À̶ó°í ¼¼±ÛÀÚ±îÁö ŸÀÌÇÎÇÏ´Â °Íµµ ±ÍÂú´Ù¸é c:\acad\support¹æÀÇ acad.lsp¸¦ ¿°í CH1¸í·ÉÀ» Á¤ÀÇÇÑ ºÎºÐÀ» ¾Æ·¡¿Í °°ÀÌ °íÃļ 1¿Í °°ÀÌ ÇÑÅ¥(?)¿¡ ¸í·É À» ³»¸± ¼ö ÀÖµµ·Ï ÇÒ ¼öµµ ÀÖ½À´Ï´Ù.
(defun C:CH1() ¡æ (defun C:1() (setvar "CMDECHO" 0) (setq ss (ssget)) (command "CHPROP" ss "" "C" "1" "") (setvar "CMDecho" 1) (princ) ) ;of defun |