Scripting > Tables


Tabulate Class

Tabulate.newTable()
Tabulate.newTable(string title)

 

The Tabulate class in the hec.script module is used to create a new Table dialog. It contains two functions to create a Table dialog, each of which returns as a HecDataTableFrame object.

 

Creation of a tablei s illustrated in the example below.


Example: Creating a Table 

 

from hec.script import *

myTable = Tabulate.newTable()

or

from hec.script import *

myTable = Tabulate.newTable(“Elevation vs Flow”)