The HeightFieldSlice option changes the minimum contour line value by the contour map. The OptionValue is a whole number between 1 to the maximum grid row in the orientation direction. This option is only available when more than one grid node exists in each direction.
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(“HeightFieldSlice”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the heightfield slice to 18.
CommandApi.Construct("ModifyModule")
CommandApi.Option("Module","HeightField")
CommandApi.Option("HeightFieldSlice", "18")
CommandApi.Do()
Used by: HeightField
See Also