When updating a model using GIS snapshots some of the pipes, junctions and hydrants in the model are inexplicably moved incorrectly. After some debugging the reason for the error seems to be that the modelbuilder incorrectly handles a polyline when it has been reversed in the GIS between the time the model was originally created and the time when it is updated. I've uploaded all the relevant GIS shapefiles, model files, snapshots and model builder connections via secure upload (file name: Evides_Modelbuilder_GIS_Update_Reversed_Pipe_Error.7z). The workflow that can be used to reproduce the topology error: Build model using original GIS shapefiles, split pipes with hydrants & junctions, update model using update GIS shapefiles. This creates the topology containing the errors.
After some debugging I found 1 polyline that was reversed in the update GIS shapefiles, after reversing (flipping) the polyline in the shapefile using ArcGIS and then updating the model using the reversed polyline shapefile the topology errors were gone. However, doing this manually for all the pipes in our GIS (which is quite large) would be infeasible. Modelbuilder using GIS snapshots should be able to handle this just like any other change/update in the GIS.
Updated model with topology errors
Hi Joeri, I met with your colleagues this week and this was one of the things we discussed. Thank you for providing the details and steps to reproduce - I am able to reproduce this in a small three-pipe model as well and have escalated this to our development team for attention. I have also opened Service Request 7000963092 on your behalf and will let you know when a patch or solution is available. Thank you for your patience.
Jesse DringoliTechnical Support Manager, OpenFlows ProductsBentley Communities Site AdministratorBentley Systems, Inc.
Answer Verified By: Joeri Legierse