project a curve on a surface using the current 3D view

 From:  Michael Gibson
11861.2 In reply to 11861.1 
Hi Hadri1, try this script here:

http://moi3d.com/forum/index.php?webtag=MOI&msg=2599.8

Once the cplane is set then inside the Project command click the "Use CPlane" button in the command options area.

To restore the cplane back to world coordinates you can use View > CPlane > "Reset CPlane" button, or right click View > CPlane, or set up a shortcut key with this:
script: moi.view.resetCPlane();

- Michael