Using Python in the command line
The command line is an integral part of the Developer Control Bar.
If this bar is not visible, select View > Show/Hide and check the Developer tickbox.
The Python Command Line can accept any supported API Methods.
Note: Methods supported by Python will include the SISpy or PySIS notation.
You can generate a descriptive list of the available methods and their parameters using the help(sis) in the Python Command Line:
To check the syntax and parameter of a specific method use:
Examples of using Python in the command line:
Note: To make the command line box wider, click the horizontal button (circled above). This will stretch the Developer Control Bar across the full width of the screen.
This will hide the Developer Control Bar and substitute it with a simple Developer button. Click this button to restore the Developer Control Bar.
The above command line entry exports the overlay at position 2 in the overlay list to an FDB file named "Roads.fdb".
Note: The overlay list starts at position 0.
The above command line entry removes the overlay that is fifth in the overlay list:
The British National Grid is Overlay 0 in this example.