MACRO RENAME PLANE

Hi.

I need a macro to rename the default plans. How can I recognize the default plans as some of them have already been renamed in some parts?

Thank you

SolidworksApi macros