Hello,
I sync WaterGEMS and SewerGEMS with a GIS with modelbuilder.
In ArcGIS (10.6.0.831), using the Bentley WaterGEMS (10.01.01.04) (64) V8I ModelBuilder i can transfert the data from the MDB DB (OLEDB personal geodatabase connected to WaterGEMS ) into the ESRI File Geodatabase through the SYNC-OUT using the "Label" as a key in SQLServer.
Its work well, but i would like to know if its possible to automate the 'Sync-IN' with a periodic execution e.g with python or ArcPy ?
It is possible to run ModelBuilder from a command prompt (search the help for ModelBuilder Batch Import), so you should be able to write a script to automate this.
Regards,
Mal
Thank you for the documentation, it is very appreciated ! The idea is actually to write a script to automate the processing it would be more robust and efficient than a manual execution.
Ah - sorry, I missed the fact that you are trying to sync data from WaterGEMS to the GIS geodatabase.
Are you just exporting model results (e.g. calculated pressure, flow, etc.), or are you also exporting input data (pipe diameter, elevations, etc.)?
No problems, thank you for your support. I export both. Some informaitons will be edited by GIS applications (then sync-in into model) some information will be edited in Water / Sewer (then sync-out) into GIS,