NXOpen.UF.View.Lights Structure — NXOpen Python API Reference 12.0.0 documentation

# NXOpen.UF.View.Lights Structure

NXOpen.UF.View.Lights is an alias for NXOpen.UF.ViewLights_Struct

class `NXOpen.UF.``ViewLights_Struct`

  Bases: `object`

  Refer to UF_VIEW_lights_s for documentation.

Fields

`NXOpen.UF.ViewLights_Struct.LightName` | Light name which is limited to 40 characters.
`NXOpen.UF.ViewLights_Struct.LightType` | Lights may be of different types as defined in @@LINK=types.html#UF_VIEW_light_type_e ENDLINK @@ UF_VIEW_light_type_t
`NXOpen.UF.ViewLights_Struct.LightMode` | Specifies whether the light is fixed to the observer or fixed to the part.
`NXOpen.UF.ViewLights_Struct.Location` | Together with ‘to’, determines the direction of the light.
`NXOpen.UF.ViewLights_Struct.To` | Together with ‘location’, determines the direction of the light.