StreamLinesDirection Option

 

The StreamLinesDirection option changes the direction points are traced from the seed point for stream lines. The OptionValue is 0, 1, or 2.  0 sets the option to Forward. 1 sets the options to Backward. 2 sets the option to Both.

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, “StreamLines”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “StreamLines”)

object.Option(“StreamLinesDirection”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the stream line direction.

 

  CommandApi.Construct("ModifyModule")

  CommandApi.Option ("Module", "StreamLines")

  CommandApi.Option ("StreamLinesDirection", "1")

  CommandApi.Do()

 

Used by: StreamLines

 

 

See Also

Automation Model