Integrating Custom Modules

You can add your own Python modules to GisLink applications. This can be accomplished in two ways:

  1. Install the module in “Cadcorp SIS 8.0\Python\Lib\site-packages”. The module should automatically be available to load via the Python “import” syntax.
  2. Install the module anywhere on the system, such as the Addins project folder, and append the location to the sys.path variable at the beginning of your GisLink script.
      cadcorp_version = '1.0'   
      cadcorp_vendor = 'Cadcorp'

      import gislink
      import sys


      import MyModule