Scripting > Math Functions


Set Location Name for Data Set

setLocation(String locationName)

Set the location name for a data set, which changes the B-Part of the HEC-DSS pathname.  The new pathname will be used in plots, tables, and in the write() method of DSSFile objects.

 

Parameters:

locationName – A string specifying the new location name for the data set.

Example: dataSet.setLocation(“OAKVILLE”)

Returns:  Nothing