Product(s): | WaterGEMS, WaterCAD, HAMMER, SewerGEMS, StormCAD, SewerCAD, CivilStorm |
Version(s): | 10.01.XX.XX and Later |
Area: | Layout and Data Input |
Problem
A model uses junctions to model hydrants.
Using a Shapefile that contains only hydrants, how could the junctions representing hydrants be morphed into hydrant elements?
Solution
Update the existing junctions using ModelBuilder
- Select the Shapefile containing hydrants.
- Enable "Map elements spatially to closest matching geometries (spatial join)". Note that this is available starting with CONNECT Edition Update 1.
- Map a field from the hydrant Shapefile to a Junction field. For example, map the hydrant Shapefile field label to the model's notes field. If the notes field is already being used, then a user data extension could be created.
- On the last page make sure to enable "Create a selection-set with elements modified". This will create a selection set of junctions that are in the location where the hydrants should be.
Use Batch Morph to change the junctions to hydrants
- Go to Tools > More > Batch Morph.
- Use the new selection set "Elements modified via ModelBuilder…".
- Set the "New Node Type" to junction, and click OK.
See Also
Using ModelBuilder to Import External Data
How to Batch Morph nodes from one type to another
How do I batch merge nodes in close proximity?