StreamLinesColorMethod Option

 

The StreamLinesColorMethod option changes the color method for streamlines. The OptionValue is either 0 or 1. 0 sets the option to a Fixed color. 1 sets the option to a color map.

 

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(“StreamLinesColorMethod”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the Color Method to Fixed.

 

  CommandApi.Construct("ModifyModule")

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

  CommandApi.Option ("StreamLinesColorMethod","0")

  CommandApi.Do()

 

Used by: StreamLines

 

 

See Also

Automation Model