Hi Michael,
I tried the new command now. My workflow was, that I select a NURBS object at Rhino and press my "Moi" button
_-export "d:\temp\#moi.3dm" _enter _enter
_-run "C:\Program Files (x86)\MOI 2.0\MOIConvert.cmd"
than the CMD was started
"C:\Program Files (x86)\MoI 2.0\MoI.exe" "C:\Program Files (x86)\MoI 2.0\MOIConvert.js"
and the MOI meshing UI pop up.
But if I add the /showwindow to the CMD file, than I get the MoI UI only, without NURBS object and meshing UI. Do you have an idea what's wrong here?
The MOIConvert.js contain this code:
function Convert(FileName)
{
    var gd = moi.geometryDatabase;
    // Open the file, set 2nd param to true to suppress any save changes prompt.
    gd.open( FileName, true );
    // Create the output file name by breaking off the file extension and adding 'obj'.
    
    OBJFileName = FileName.substr( 0, FileName.lastIndexOf('.') + 1 ) + 'obj';
    // Save out to the output file, passing the option to suppress the UI. You
    // add other options separated by semi-colons with no spaces. These
    // options are available for controlling the meshing:
    // NoUI=true
    // Angle=12.0
    // Output=ngons | quads | triangles
    // MaxLength=0.0
    // MaxLengthApplyTo=curved | planes | all
    // MinLength=0.01
    // AspectRatio=0.0
    // Weld=true
    // Display=shadedwithedges | shadednoedges | wireframe
    // ExpandedDialog=false
    gd.saveAs( OBJFileName, 'Angle=12.0;MinLength=0.01;MaxLength=1000;AspectRatio=20;Weld=true;Output=quads');
    // Let's clear out and suppress any save changes prompt again.
    gd.fileNew( true );
}
Convert('d:\\Temp\\#moi.3dm');
moi.exit( true ); // Pass true to suppress save changes prompt.
And other question to this topic - could it be possible, that an automatic reset of the views is done after a file is opened? The problem is, if I try to mesh an object from Rhino, than the object could be outside the default view. 
An other poblem, but not so important - the display mesh show some artefacts at this opended Rhino sphere. Is it normal? The exported mesh looks good, so it no problem for the daily workflow here.
Regards,
Micha
