The HeightFieldDrawStyle option changes the drawing style of the Heightfield. The OptionValue is set to 0, 1, or 2. 0 sets the drawing style to shaded. 1 sets the drawing style to lines. 2 sets the drawing style to points.
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(“HeightFieldDrawStyle”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the heightfield drawing style to lines.
CommandApi.Construct("ModifyModule")
CommandApi.Option("Module","HeightField")
CommandApi.Option("HeightFieldDrawStyle", "1")
CommandApi.Do()
Used by: HeightField
See Also