hi frends ,
pls i need some help again sorry ~
this code is to send layer based on object's color
but This does not work for hatch objects and bylayer object
how can i do that ?
;
(if (and (> col
0)(< col
256)) (command "_LAYER" "_N" lay
"_C" col lay
"") )
(command "_CHPROP" hnd
"" "_LA" lay
"_C" "BYLAYER" "") )
)
)
)
)
)
;
)
EDIT (John): Added code tags.