How to Batch Morph nodes from one type to another

  Applies To 
  Product(s): WaterGEMS, WaterCAD, HAMMER, SewerGEMS, SewerCAD, CivilStorm, StormCAD
  Version(s): 08.11.04.57 +
  Area:  Modeling
  Original Author: Akshaya Niraula, Bentley Technical Support Group

The Batch Morph tool allows you to morph a selected node type into another type of node element as a batch operation.

Steps to Accomplish

You can access the Batch Morph tool in CONNECT Edition by going to Tools > Tools > More > Batch Morph or by searching with the Ribbon search option. In V8i, you can go to Tools > Batch Morph.

1. Select the nodes to be morphed from the following choices:

  • All: All nodes in the model will be morphed to the specified Target Element Type.
  • Selection: Only the nodes that are currently selected in the drawing pane will be morphed to the specified Target Element Type.
  • Selection Set: Only those nodes that are contained within the selection set specified in the drop down list will be morphed to the specified Target Element Type.

2. Check the Allow Morphing of Inactive Nodes? box if you want to include nodes set as Inactive in the batch operation.

3. Select the Target Element Type that the selected nodes will be morphed into.

To morph Junctions into Isolation Valves:

1. Morph the desired junctions into TCV's, GPV's, or PBV's.

2. Use the Skelebrator "Inline Isolation Valve Replacement" operation.

Workaround for older versions of the software

For convenience, this solution will use "Element A" as the original node type and "Element B" as the new node type.

The first step would be to export the properties of Element A, as well as the pipes in the model, into shapefiles. This can be done in the flextables for the individual elements by clicking the Export to File icon in the upper left.

Next, you would need to delete Element A from the model. This will also delete the connecting pipe. You can select all of a certain type of element by going to Edit > Select by Element.

Next, open Modelbuilder and import the shapefile for Element A. Go through the Modelbuilder steps until you get to the step where you map the features of the shapefile to the corresponding property. The element
type will likely be default to be the same as Element A. However, you can change this to Element B instead. After mapping the shapefile features to the appropriate element properties, complete the Modelbuilder process. When you view the drawing, all of Element A should now be Element B. Next, go through Modelbuilder again, adding the pipes that were deleted back into the model.

For more information on Modelbuilder, look at Help or the following Technote.

The method above will allow you to replace all of a certain element with a different one. The one drawback to this method would be that there is a chance that some element properties will be lost in the process. If certain properties are not exported to the shapefile, or not properly mapped in Modelbuilder, you may lose some property information. If you try this method, I would still recommend reviewing the data to make sure
that nothing was lost.

See Also

How to convert TCV GPV or PBV to Isolation Value using Skelebrator

Recommended
Related