Geographic Information Systems Asked by Pradip on December 1, 2020
I am working in ModelBuilder in ArcGIS Desktop.
I want to stop models from working when the current Time is greater than the project over time. Below snap showing where I am making a mistake please help.
I have not tested this but you could try using an if
statement in a Calculate Value tool to issue a sys.exit()
if today's date is greater than the date you want your model to cease working.
Then make that tool element a precondition to the rest of your model running.
Alternatively, as commented by @BERA:
You could rename or delete the Toolbox (*.tbx file) using a script in the operating system which executes at the desired date.
Answered by PolyGeo on December 1, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP