Select standard reference geometry (e.g. Front plane or origin) by type using SOLIDWORKS API

Example demonstrates how to select standard plane (Top, Front or Right) and origin by specifying its type