EnvironmentAmbientColor Option

 

The EnvironmentAmbientColor option changes the color of the background light shown in the Viewer window. The OptionValue is a color name.

 

Syntax

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

This example shows how to alter the Viewer window ambient color setting.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("EnvironmentAmbientColor", "Chalk")

  CommandApi.Do()

 

Used by: Environment

 

 

See Also

Automation Model