The OrthoSliceColormap option changes the color map used with the Ortho image. The OptionValue is a color map name. This option is only available if the OrthoSliceMapping is set to 1.
Syntax
object.Construct(“CreateModule”)
object.Option(“SourceModule”, “data file name”)
object.Option(“Type”, “OrthoImage”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “OrthoImage”)
object.Option(“OrthoSliceColormap”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the Ortho image color map to Rainbow.
CommandApi.Construct("ModifyModule")
CommandApi.Option("Module","OrthoImage")
CommandApi.Option("OrthoSliceColormap", "Rainbow")
CommandApi.Do()
Used by: OrthoSlice module
See Also