EnvironmentFogColor Option

 

The EnvironmentFogColor option changes the color of fog applied in the Viewer window. The OptionValue is a color name.

 

Syntax

object.Construct(“ModifyModule”)

object.Option(“Module”, “Viewer Window”)

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

object.Do() or object.DoOnce()

 

Example

This example shows how to alter the Viewer window fog display to Haze.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Viewer Window")

  CommandApi.Option ("EnvironmentFogColor", "10% Black")

  CommandApi.Do()

 

Used by: Environment

 

 

See Also

Automation Model