Moving SRH-2D Material Attributes to Another Project
After setting your SRH-2D material attributes in one SMS project, have you ever wanted to transfer those attributes to another SMS project? Doing this can save you from having to reenter the same material attributes into a separate project. You can even transfer multiple material coverages at once.
There are three project files referred to here: the original project, the project with the saved material coverage attributes, and the third project to which you want to add the saved material attributes. To make sure these instructions are clear, we'll call them Project A, Project B, and Project C, respectively.
To save time on other projects that use the same material attributes, you can use the following steps to export them for later use:
- Outside SMS, create a copy (Project B) of your project directory. This prevents you from accidentally damaging the original project (Project A) during the process.
- In Project B (the copy), delete any geometric data that isn’t going to be transferred, such as meshes, grids, GIS data, and scatter sets.
- Also remove any coverages and material data you do not want transferred.
- On the SRH-2D material coverages, remove any polygons and feature objects that you do not want transferred. This is assuming that the project receiving the new material parameters will be assigning the material properties to different polygons.
- This is the tricky part. You have to have at least one Map object for a map file to be saved in SMS. Therefore, create a new coverage of any type as a placeholder. Create a single feature point in this placeholder coverage.
- Use the Save command to save Project B that only contains the SRH-2D material coverages with your material properties, and one one other coverage with a single feature object.
- In another instance of SMS, open Project C.
- Use the Open command to open Project B.
- SMS should ask if you want to delete this data. If this happens, respond "No". The coverages from Project B (and its material lists and attributes) will be loaded into Project C.
- Now to add the material lists from the Project B into the material lists in Project C by right-clicking on the transferred coverage and selecting the Assign Materials to menu command. SMS will bring up the Assign Materials dialog where you can add materials from one coverage to another. You can either add the materials to the list of this coverage or replace the materials list in this coverage.
Now that you know how to transfer material parameters from one project to another, try it out in the SMS today!