The IsosurfaceColor option changes the color when the IsosurfaceColorMethod is set to 0. The OptionValue is the name of the color.
Syntax
object.Construct(“CreateModule”)
object.Option(“SourceModule”, “data file name”)
object.Option(“Type”, “Isosurface”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “Isosurface”)
object.Option(“IsosurfaceColor”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the isosurface color to light green.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Isosurface")
CommandApi.Option ("IsosurfaceColor", "light green")
CommandApi.Do()
Used by: Isosurface
See Also