EnvironmentFogType Option

 

The EnvironmentFogType option changes the type of fog applied in the Viewer window. The OptionValue is 0, 1, 2, or 3 for None, Haze, Fog or Smoke.

 

Syntax

object.Construct(“ModifyModule”)

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

object.Option(“EnvironmentFogType”, “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 ("EnvironmentFogType", "1")

  CommandApi.Do()

 

Used by: Environment

 

 

See Also

Automation Model