The ContourNumLevels option changes the number of contour levels shown on the contour map. The OptionValue is a whole number between the range of 0 and 100. This option is only available if the ContourSpacing is set to 0 or 1.
Syntax
object.Construct(“CreateModule”)
object.Option(“SourceModule”, “data file name”)
object.Option(“Type”, “Contours”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “Contours”)
object.Option(“ContourNumLevels”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the number of contour lines to 10.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Contours")
CommandApi.Option ("ContourNumLevels", "10")
CommandApi.Do()
Used by: Contours
See Also