Esri / mdcs-py

MDCS is an acronym for Mosaic Dataset Configuration Script and is the entry point to a collection of Python classes/libraries that could be consumed by a Python client application to complete a given workflow for creating a mosaic dataset, populating it with data, and setting all required/desired parameters.
Apache License 2.0
64 stars 29 forks source link

Issue related to Pro with MDCS PYTs/custom objects. #128

Closed Chamlika closed 11 months ago

Chamlika commented 1 year ago

Presently when the a PYT gets picked and run within Pro, the references to the previously loaded MDCS modules in memory are reused although the user has moved onto another PYT file.

Chamlika commented 1 year ago

Please note, all the references to MDCS paths/loading of MDCS module needs to be implemented within the def execute(self, parameters, messages): function and not the the global level at the top of the PYT source file.