labeling materials revisited

by Nate Hekman on June 16, 2008

Back in October I posted instructions from Lori on how to label a region with its material name.  What seemed like an easy task turned out to be quite hidden:  you had to use the Insert Field button in Sketch Text, switch to the Advanced tab, then dig down into the tree of fields to find the material name for the region in question.

Obviously that was a poor design.  I’m happy to say much has changed in the last few months.

You can still do it the way Lori described in October, but in recent versions we’ve added two much simpler ways that will work for most people.

Method 1:  View Preference

Most of the time you can use View Preferences.  We’ve long had the option of displaying the region number on each region.  Now (as of version 7.10) you can also choose to view the material name assigned to each region.

The result is something like this:

Method 2:  Sketch Text

In some cases the View Preference approach won’t work well, such as when you have lots of small regions so the labels overlap each other and it’s all just a garbled mess.  You’d rather just put labels on a couple of specific regions.

You can do that easily with Sketch Text fields.

As the October article explained, it used to be that when you used the Materials tab, you ended up choosing a field that was tied to a specific material.  If you wanted a field for the material on a specific region, you had to go through the Advanced tab.

Now (as of version 7.10) we’ve switched that around, since the latter was what most people wanted.

So to label a specific region with its material name, follow these steps:

  1. Choose Sketch – Text.
  2. Click “Insert field…”
  3. Select the Materials tab, and uncheck all the material properties except Name.
  4. Click on any region in your drawing to select it, or choose it from the drop-down list.
  5. Click “Insert”.
  6. Click somewhere in your drawing to place the text.

[click this thumbnail for a larger image]

The field you inserted (GeometryItems.Regions[2].Material.Name) displays the name of whatever material is assigned to Region 2, so if you later assign a different material, or if a different material is assigned in another analysis, the text will update automatically, just as you’d expect.

{ 2 comments… read them below or add one }

1

Muqdad 10.11.17 at 9:47 pm

Hi,
I just wonder if you can let me know how to define a random field for hydraluic conductuvity in SEEPW.
I tried to open the *.gsz file by winrar software to reach to excel file then put new values of KX but when i run it again the SEEPW keep the orgnial value.
Thanks
Muqdad

2

Nate Hekman 10.12.17 at 9:22 am

Hello Muqdad. The .csv files that are inside the .gsz are the computed results. If you want to change the definition, you should edit the .xml that is in the root folder of the .gsz.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>