The IsosurfaceOpacity option changes the opacity of the isosurface. The OptionValue is a number between 0 and 1. 0 is fully transparent, 1 is fully opaque.
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(“IsosurfaceOpacity”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the opacity of the isosurface to 0.4.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Isosurface")
CommandApi.Option ("IsosurfaceOpacity", "0.4")
CommandApi.Do()
Used by: Isosurface
See Also