SELECT FACE BYNAME IN PART

Hi friends, sincerly I wrote a macro to select a face in assembly but I would like to select a face in part only.It mean I want to open a partdcument and after select face byname not by ID.thank you very much

SolidworksApi macros