CommandLineArgs

Retrieves the command-line arguments, or switches, used to launch Rhino. Command line switches are parameters that you add to the RHINO.EXE command line which enable Rhino to perform additional operations when it starts.

Syntax

Rhino.CommandLineArgs ()

Parameters

None.

Returns

Array

An array of strings containing the command-line arguments if successful.

Null

If not successful, or on error.

Example

Dim arrArgs, strArg

arrArgs = Rhino.CommandLineArgs

For Each strArg in arrArgs

  Rhino.Print strArg

Next