There seems no obvious link between the projected view and your contour selection other than that they part of the visible object lines.
You can only automate it if you can identify the object lines using an algorithm. You could add custom sketches in your model and name them Loop-01, Loop-02 or so and convert the model edges into the sketch as needed. If your sketches happen be on none-parallel planes then simply use the derived-sketch feature and put them all on the front plane.
Now you can automate. You can create drawing views and search for the model sketches named Loop-01 etc. Then show the sketch lines only and hide the body. All parametric.
just one way to do it
Thank you for your opinion,Sir Elmar.
I am not familiar with solidwords.Is there some APIs which can help me identify the object lines,or,I should write the algorithm all by myself.