more template tips

by Nate Hekman on August 11, 2008

While we’re on the topic of templates, here are a few more tips to use them effectively.

Default template

Choose File – New, select a template, then click “Make this the default template” if you want to use this template all the time.

The default template will be used any time you start a new file by clicking the “New File” button in the toolbar, or by clicking one of the product icons on the Start Page.

The default template should also be the one that is selected initially when you choose File – New from the menu (though that appears to be broken in the current version–I’m hoping we can fix it in the next release).

Creating a New File From the Menu, Toolbar or Start Page

As I alluded to, there are several ways to create a new file, and they all work a bit differently.

  • Choosing File – New from the menu always shows the box where you get to choose a template, followed by the KeyIn Analyses box.  Since the default templates we ship do not contain any analyses, the KeyIn Analyses box is initially empty.  If your template does have one or more analyses in it, they will show up in KeyIn Analyses.
  • Choosing the “New File” button from the toolbar uses the default template.  The result is as if you used the menu item, clicked “Create from this template”, selected the default template, then clicked Create.
  • Clicking one of the product icons on the Start Page (next to the “New” tab) uses the default template and creates a new analysis.  The result is as if you clicked the “New File” toolbar button, then created an analysis.  So if your default template already has one analysis, you’ll end up with two (the template one and the new one).

Create From Existing

You can use any existing .gsz file as if it were a template.  Choose File – New from the menu, then click the “Create From Existing…” button and choose a .gsz. 

The .gsz file gets opened but has no name, so when you try to save it you get prompted for a new file name.

The Location of the Templates Folder

The templates listed when you choose File – New are all .gsz files from your Templates folder.  The location of the Templates folder can be changed in Tools – Options.  One reason you may want to change the location is to share templates with others in the same company–you could create a Templates folder on a shared location on the network.

No Analyses

You may want to create a template with no analyses in it, like the ones that ship with the software.  That’s handy if you don’t know what analyses will be used, but you want to set up some common defaults, like default boundary conditions, materials, or units.

To create a template with no analyses, you start out (unintuitively) by creating all the analyses you could possibly want (e.g., one SLOPE/W, one SEEP/W, etc.).  That gives you the framework in which you can define the appropriate boundary conditions, materials, and so on.  Don’t set any analysis-specific properties like time steps (because our next step is going to be to delete the analyses); only create global objects.

Now delete all the analyses you created.  The global objects (boundary conditions, materials) and the file-specific settings (units, scale, extents) will remain, but when you start a new file with this template you’ll have no analyses.  As soon as you add an analysis, you’ll see the global objects that apply to it.

{ 2 comments… read them below or add one }

1

marganda 04.08.10 at 5:36 am

Dear sir

I am not geotechnic user, but my friend ask me to make little programming in geostudio 2004 ( slop/w)
Could u please send me some information for programming in geostudio ?? and what is the function of add in in geostudio 2004

2

Nate 04.08.10 at 8:14 am

Add-Ins are a new feature in GeoStudio 2007. They are not supported in GeoStudio 2004. You can find API documentation, instructions, and samples for programming Add-Ins in GeoStudio 2007 by following this link.

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>