You are currently reviewing an older revision of this page.
How can I import and export controls between models in WaterCAD and WaterGEMS?
Starting with the CONNECT Edition, you now have the ability import and export controls from one project to another. This will save you time in recreating the controls for new projects.
1) First, confirm that you have version 08.09.400.34 or later by going to Help > About.
2) Open Windows Explorer and create a folder directly under your C: drive called "Temp", unless it already exists. The path should be C:\Temp\
3) Browse to "C:\Users\(user name)\AppData\Roaming\Bentley\WaterGEMS\8\ " - you should see a file named "Modelbuilder.xml" - this stores your saved Modelbuidler runs. Backup this file in case you have any that you need to save. Note: If you have WaterCAD, enter "WaterCAD" in place of "WaterGEMS".
4) Download the following .zip file to the C:\Temp\ folder: http://communities.bentley.com/products/hydraulics___hydrology/m/hydraulics_and_hydrology_gallery/270374
5) There are 3 files inside it. First, extract the two Excel spreadsheet files (IdahoDataSetCollections.xls and IdahoDataSetComponents.xls) to the same folder ("C:\Temp"). Extract the "Modelbuilder.xml" file to the folder mentioned in step 3. If you want to retain the original Modelbuilder.xml file, rename it. Otherwise, overwrite the old "Modelbuilder.xml" file.
6) Open WaterGEMS or WaterCAD and open the model file that contains the controls you want to export to a different model.
7) Open Modelbuilder and click the entry called "idahodatasetcomponents". Click the "Sync out" button and acknowledge the summary window. Perform the same synch out operation on the other entry, called "idahodatasetcollections".
8) Close Modelbuilder in the source file and then open the "destination" file. In this file, please make sure any existing controls, actions, conditions and control sets are deleted. Also make sure that all elements referenced in the source model's controls exist (and match up) in the destination model.
9) In the destination model file, open Modelbuilder and click the "idahodatasetcomponents" entry. Click the "Build model" button and acknowledge the summary window.
10) Click the "idahodatasetcollections" entry and click the "Build model" button again. Note that you may receive some warnings about attributes not being assigned because "reference element "" does not exist". These should probably be OK and are usually due to extra blank entries that you would not want anyway.
11) Open your alternatives manager and open each operational alternative. Map the appropriate control set to each one.
12) Go to the Controls manager and thoroughly examine the control, actions, conditions and control sets tab to ensure that everything imported properly.