LightSceneType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# LightSceneType Enumeration

NXOpen.Light.SceneType is an alias for NXOpen.LightSceneType

class `NXOpen.``LightSceneType`

  Bases: `object`

  The predefined scene lights used in Basic Lights. These are subtypes of `LightType.Scene`. Except for ambient light, all of the other lights are on the same side of the model as the observer.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  NotASceneLight | The light is not a scene light
  Ambient | Light from all around the model
  LeftTop | Light from the top left of the view
  Top | Light from the top center of the view
  RightTop | Light from the top right of the view
  Front | Light from the front of the view (at the observer’s location
  LeftBottom | Light from the bottom left of the view
  Bottom | Light from the bottom center of the view
  RightBottom | Light from the bottom right of the view

  `ValueOf`()

    Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

    Signature `ValueOf(value)`

    Parameters: | value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
    Return type: | Enum Member type.

    New in version NX9.0.1.

    License requirements: None.