HeightField Option

 

The HeightFieldScale option changes the scale for the Heightfield. The OptionValue is a number between -1 and +1.  

 

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

object.Do() or object.DoOnce()

 

Example

This example changes the contour interval to 1.

 

  CommandApi.Construct("ModifyModule")

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

  CommandApi.Option("HeightFieldScale", "0.6")

  CommandApi.Do()

 

Used by: HeightField

 

 

See Also

Automation Model