Computer-implemented method for three-dimensional CAD modeled object selection of several shapes with a single stroke, wherein the method comprises: - displaying three-dimensional parametric shapes, a parametric shape being modeled by at least one function of at least one parameter, the function providing the position of points of the shape; - user-interacting with a screen; - defining on a support, the support being a drawing surface, at least one stroke corresponding to the user-interacting, wherein the stroke is discretized into stroke points; - determining, for each shape, a projection of the shape on the support, wherein the projection of a shape comprises shape points which are determined by discretizing the shape and then projecting the discretized shape on the support; - computing, for each shape, a first distance between the beginning of the stroke and the projection of the shape, wherein the computed first distance between the beginning of the stroke and the projection of the shape is a minimum of distances between a first part of the stroke points comprising the first five stroke points, and the projection of the shape, and wherein the distance between a stroke point and the projection of the shape is a minimum of distances between the stroke point and the shape points; - selecting a first shape, the selected first shape having a projection with a smallest distance to the beginning of the stroke; - computing for each shape not selected in a previous iteration, a second distance between an end of the stroke and the projection of the shape, wherein the computed second distance between the end of the stroke and the projection of the shape is a minimum of distances between a second part of the stroke points comprising the last five stroke points, and the projection of the shape; - selecting a second shape, the selected second shape having a projection with a smallest distance to the end of the stroke. - displaying three-dimensional parametric shapes, a parametric shape being modeled by at least one function of at least one parameter, the function providing the position of points of the shape; - user-interacting with a screen; - defining on a support, the support being a drawing surface, at least one stroke corresponding to the user-interacting, wherein the stroke is discretized into stroke points; - determining, for each shape, a projection of the shape on the support, wherein the projection of a shape comprises shape points which are determined by discretizing the shape and then projecting the discretized shape on the support; - computing, for each shape, a first distance between the beginning of the stroke and the projection of the shape, wherein the computed first distance between the beginning of the stroke and the projection of the shape is a minimum of distances between a first part of the stroke points comprising the first five stroke points, and the projection of the shape, and wherein the distance between a stroke point and the projection of the shape is a minimum of distances between the stroke point and the shape points; - selecting a first shape, the selected first shape having a projection with a smallest distance to the beginning of the stroke; - computing for each shape not selected in a previous iteration, a second distance between an end of the stroke and the projection of the shape, wherein the computed second distance between the end of the stroke and the projection of the shape is a minimum of distances between a second part of the stroke points comprising the last five stroke points, and the projection of the shape; - selecting a second shape, the selected second shape having a projection with a smallest distance to the end of the stroke.