Craig,
I've coded something very similar for our GIS conversion issues.
The undernoted coding creates a selection set containing all Lines & LWpolylines on layers 23 & 56 that are coloured red, it then creates a new layer and moves the objects onto that layer while changing their properties to <bylayer> at the same time.
Try adjusting the (0 . "LINE,LWPOLYLINE") (8 . "23,56") (62 . 1) bits to suit your specific requirements.
I hope that helps.
Didge.
(if (setq SSET (ssget "X" '((-4 . "<AND")(0 . "LINE,LWPOLYLINE")(8 . "23,56")(62 . 1)(-4 . "AND>")))) ; Combined Sewers
(progn
(if (tblsearch "LAYER" "Gravity_Combined")
(command "_LAYER" "_THAW" "Gravity_Combined" "_ON" "Gravity_Combined" "")
(command "_LAYER" "_NEW" "Gravity_Combined" "_COLOR" "1" "Gravity_Combined" "")
)
(command "_CHPROP" SSET "" "_LA" "Gravity_Combined" "_C" "BYLAYER" "LT" "BYLAYER" "")
)
)