HeightFieldColormap Option

 

The HeightFieldColormap option changes the color map that is used to show the Heightfield. The OptionValue is the name of the color map.

 

Syntax

object.Construct(“CreateModule”)

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

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

This example changes the height field color map.

 

  CommandApi.Construct("ModifyModule")

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

  CommandApi.Option("HeightFieldColormap", "Rainbow")

  CommandApi.Do()

 

Used by: HeightField

 

 

See Also

Automation Model