string getSelectedFeatures()

This method returns a comma-separated list of feature identifiers corresponding to the current list of selected features (as chosen by the user when the mouse mode is one of those set by the feature selection methods of the MouseModeAPI).  For a description of the returned list, see Feature ID Lists.