GetSelectedFeatures =================== .. currentmodule:: globalmapper .. py:function:: GetSelectedFeatures (GM_SelectFlags_t32 aFlags, uint32 aReserved=0) -> GM_Error_t32, GM_FoundFeatureResults_t Any features returned from this function must be freed using a call to :doc:`FreeFeatureResultList` when you are done using them. .. Note:: This function is only supported in a Global Mapper Extension DLL. :param GM_SelectFlags_t32 aFlags: Flags controlling what to select (like areas, lines, points, etc.) :param uint32 aReserved: Reserved for future use; defaults to 0 :returns: Error Code :rtype: GM_Error_t32 :return: Structure that will get list of selected features (use GM_FreeFeatureResultList to free) :rtype: GM_FoundFeatureResults_t