CARIS HIPS and SIPS : Support Files : BASE Manager Module Support Files : Python API Scripts
 

Python API Scripts

The support files for the BASE Manager module include a number of Python API scripts (.py files). These scripts can be used to populate feature attributes when adding objects to a database. These files can be found in the following locations:

C:\Program Files\CARIS\BASE Editor\<version>\modules\BASE Manager\scripts

C:\Program Files\CARIS\BASE Editor\<version>\modules\BASE Manager\support\Catalogues

The scripts can be used as is, or they can be used as a template to create a new script with appropriate feature attribute settings.

To populate feature attributes with a Python script, a supported version of Python must be installed and a Python module must be enabled in the Modules dialog box. Once these prerequisites are met, a Feature Plugin option will be available in Tools > Options. When this option is defined, the settings in the script will automatically be applied to features that are added to a database.