Creating planes without references

Sorry if this addressed somewhere else, just need a quick answer to point me in the right direction!

I am creating a macro feature that I want to contain several planes, but do not want to rely on the default planes having the same IDs from part to part. Basically I want these planes to be defined only by the model's coordinate without any other references like the default Front, Top, and Right planes.

SolidworksApi macros