Skip to content

StateDMI / Command / WriteDiversionRightsToStateMod


Overview

The WriteDiversionRightsToStateMod command (for StateMod) writes diversion rights that have been defined to a StateMod diversion rights file.

Command Editor

The following dialog is used to edit the command and illustrates the command syntax.

WriteDiversionRightsToStateMod command editor

WriteDiversionRightsToStateMod Command Editor (see also the full-size image)

Command Syntax

The command syntax is as follows:

WriteDiversionRightsToStateMod(Parameter="Value",...)

Command Parameters

Parameter             Description Default                
OutputFile
required
The name of the output file to write. None – must be specified.
WriteHow OverwriteFile if the file should be overwritten or UpdateFile if the file should be updated, resulting in the previous header being carried forward. OverwriteFile

Examples

See the automated tests.

Troubleshooting

See the main troubleshooting documentation

See Also