The VolRenderComponent option changes the component used to show the VolRender. The OptionValue is an integer indicating the component number.
Syntax
object.Construct(“CreateModule”)
object.Option(“SourceModule”, “data file name”)
object.Option(“Type”, “VolRender”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “VolRender”)
objectOption(“VolRenderComponent”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the VolRender component to the second component.
CommandApi.Construct("ModifyModule")
CommandApi.Option ("Module", "VolRender")
CommandApi.Option ("VolRenderComponent", "2")
CommandApi.Do()
Used by: VolRender module
See Also