Version

The Versions API provides methods to identify the current used versions e.g. Configurator Version, Automation Interface Version, ...

Get Configurator and AI Version
scriptTask('taskName', DV_APPLICATION){
  code {
        versions{
            String cfgVersion = daVinciConfiguratorVersion
            println cfgVersion

            String aiVersion = daVinciAutomationInterfaceVersion
            println aiVersion

            String bswId = bswDeliveryId

            String bswPackageNumber = bswPackageNumber

        }
    }
}

daVinciAutomationInterfaceVersion

Returns the AutomationInterface version in the format [major].[minor].[bugfix].

daVinciConfiguratorVersion

Returns the DaVinciConfigurator version in the format [major].[minor].[bugfix].

bswDeliveryId

Returns the BSW delivery ID, like CBD00000.

bswPackageNumber

Returns the BSW package number, like 33.06.06.