VolRenderOpacity Option

 

The VolRenderOpacity option changes the opacity for the VolRender. The OptionValue is a number between 0 and 100. 0 is fully transparent. 1 is fully opaque.

 

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”)

object.Option(“VolRenderOpacity”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes opacity for the volrender.

 

  CommandApi.Construct("ModifyModule")

  CommandApi.Option ("Module", "VolRender")

  CommandApi.Option ("VolRenderOpacity", "0.7")

  CommandApi.Do()

 

Used by: VolRender module

 

 

See Also

Automation Model