Do you want each (PP-*) layer to be a different color, or all (PP-*) layers changed to a single color?
The following will do the second option:
Code:
(defun C:TEST ( / clr lay_col lay_nm lay)
(vl-load-com)
(initget 1)
(setq clr (getint "\nSpecify layer color number: "))
(setq lay_col (vla-get-layers (vla-get-activedocument (vlax-get-acad-object)))) ;get layer collection
(vlax-for lay lay_col ;Iterate through layers
(setq lay_nm (vla-get-name lay)) ;find the name
(if (= (substr lay_nm 1 3) "PP-") ;check if first three characters = "PP-"
(vla-put-color lay clr) ;Recolor if "PP-"
) ;end_if
(vlax-release-object lay) ;Release layer object
) ;end_vlax-for
(vlax-release-object lay_col) ;release layer collection object
(princ) ;clear command line
) ;end_defun
Ty