Extend selection of connected curves

 From:  Frenchy Pilou (PILOU)
10540.2 In reply to 10540.1 
Maybe this one select all curves joined...without certitude...tested ...seems not! :(
script:/*Loop selection*/moi.geometryDatabase.selectLoop();