def selectionSize(self):
        ''' returns a tuple containing the size of the selection (x,y,z)'''
        c = self.selectionBox()
        if c is None:
            return None
        return c.size
 returns a tuple containing the size of the selection (x,y,z)
editortools/editortool.py