Selection API
The selection submodule is part of the FreeCADGui module. Example:
import FreeCADGui sel = FreeCADGui.Selection.getSelection()
Description: Clears the selection of the given document name. If no document is given the complete selection is cleared.
Returns:
Description: Returns a list of selected objects for a given document name. If no document is given the complete selection is returned.
Returns: a list of objects