Hi.
I'm trying to create a pipe network from an ESRI Shapefile in Model Builder but when I import it some pipes are mising, I imported the shapefile as a background to see if the pipes were where they are supposed to be and everything looks fine.
But when I use the Model Builder this is what I get:
As you can see all the pipes appear in the background but when imported there are some missing.
Detail:
To add to Sushma's reply - some other things to check:
1) Make sure the key field that you're selecting in the field mapping step of ModelBuilder contains unique labels. See more in the field mapping section of this article.
2) Check the shape type of the shapefile entities that are not importing. It could be that they are an unsupported linetype as eluded to in one of the articles Sushma mentioned.
3) If the key field is unique and the shape type is a simple polyline, there may be something corrupt with the Shapefile. If you have access to ArcGIS< you can try running the "repair geometry" tool in ArcToolbox. Typically if this was the problem though, you would see some indication in the summary at the end of the ModelBuilder run that Sushma mentioned.
Regards,
Jesse DringoliTechnical Support Manager, OpenFlowsBentley Communities Site AdministratorBentley Systems, Inc.
Hello Jose,
When you are importing shapefile using Modelbuilder, after completing modelbuilder run, what errors do you see in modelbuilder summary message tab? That would give clue about what is missing in the shapefile.
Do you see any kind of below error?
ModelBuilder not importing all elements or "The source geometry for element ... has multiple parts..."
Please check if you have prepared your GIS data as per below instructions.
Preparing GIS data for use in the hydraulics and hydrology products
Are you specifying tolerance during Modelbuilder steps, if yes check the pipe lengths in the shapefile.
If required please upload .mbc file along with shapefile.
Sharing model files.
Sushma Choure
Bentley Technical Suppport
Also I forgot to add that I exported the shapefile to CAD and then imported it to WaterGEMS using the Model Builder and everythings looks fine but I need to import it from the ESRI Shapefile because I have the diameter, Hazen-Williams C, and other information as attributes in that file.