zSpace command line arguments

Article last updated:

When you click on shortcut to launch an application a couple things happen. What most people only see is the application being launched which is associated with that shortcut. What you do not directly see is the command line arguments which are being passed to the application.

Command line arguments are optional parameters which tell an application to launch or run in a particular way. zSpace commonly use command line arguments to tell our applications to run in Stereo (3D) and to use OpenGL, with is a type of graphics renderer. 

To view command line arguments:

I am using the zSpace Studio desktop shortcut as an example. Right-click on the shortcut and select properties.

A new window will open giving you some information about the shortcut. Look under the Target and you will see: "C:\Program Files (x86)\zSpace\Studio\zStudio.exe" -enable-stereoscopic3d -force-opengl -screen-width 1920 -screen-height 1080 -screen-fullscreen 0 -popupwindow -always-windowed

The part in the quotes is the path to the application name which will be launched when the shortcut is clicked. Everything after the quote marks are the command line arguments.

If you were to browse to C:\Program Files (x86)\zSpace\Studio\ and click on the zStudio.exe file you would not run the file using the command line arguments. Therefore in the case with Studio you would not see Studio running in Stereo among other issues. For this reason, it is important to always use the shortcuts associated with zSpace applications. This is the primary reason for using the Windows Desktop or Windows Start Menu shortcuts when adding shortcuts to zSpace Zone

If you mistakenly delete your shortcuts or delete the command line arguments associated with a shortcut, you can create a new shortcut by performing the following:

  1. Using Windows Explorer, browse to the file which needs a shortcut. In this example, I am using zSpace Studio application again. 
  2. Right click on the application, zStudio.exe, and select Create shortcut.
  3. In some cases, you might be prompted the shortcut will be created on the desktop instead. This is ok.
  4. Right-click on the shortcut and select properties.
  5. In the target field, add to the target, after the quote marks and a space, the command line arguments. Use the below table for reference. 

 

Newton's Park, Franklin's Lab, Studio, zSpace Experience, all zSpace games:

-enable-stereoscopic3d -force-opengl -screen-width 1920 -screen-height 1080 -fullscreen 0 -popupwindow -always-windowed

 

Cyber Science 4.0b.2994

-force-opengl -enable-stereo

 

Leopoly

-popupwindow 

 

If you do not see an application listed here which should be or have questions about, please contact zSpace Support.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments