title: How do you run geomagic 2015 with the window hidden in c#
body: <p>I'm trying to start Geomagic 2015 hidden in C# but I'm struggling to accomplish this. I followed the instructions from this thread <a href="https://stackoverflow.com/questions/6857019/how-to-start-process-hidden">How to start Process hidden?</a> but it didn't help. I've also tried running cntrlcore but contrlcore.exe isn't able to export a 3dpdf. Geomagic cntrlcore is invisible but crashes when it trys to convert to a pdf.
  C# code:</p>
  <pre><code>Program my_program = new Program();
  string geomagic_executable = @&quot;C:\Program Files\3D Systems\Geomagic Foundation 2015\Cntrl.exe&quot;;
  string arg = &quot;\&quot;&quot; + my_program.goe_python_script_dir + my_program.python_script + &quot;\&quot;&quot;;
  my_program.run_python_GO_cmd(geomagic_executable, arg);
  </code></pre>
  <pre><code> public void run_python_GO_cmd( string executable, string args)
   {
          ProcessStartInfo geoProcess = new ProcessStartInfo(executable, args);
          ProcessStartInfo(geomagic_executable, args);
          geoProcess.RedirectStandardOutput = true;
          geoProcess.RedirectStandardError = true;
          geoProcess.UseShellExecute = false;
          geoProcess.CreateNoWindow = true;
          geoProcess.UserName = null;
          Process proc = Process.Start(geoProcess);
          proc.WaitForExit();
    }
  </code></pre>
  <p>Python Script:</p>
  <pre><code>import geomagic.app.v2
  import sys
  import glob
  import os
  from datetime import datetime
  geoapp.openFile(&quot;mesh.obj&quot;)
  
  activeModel = geoapp.getActiveModel()    
  geo.createpdf(pdf_save_file, 21, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, -1, 0, 1, 0)
  </code></pre>