CameraBuilderStockLens Enumeration — NXOpen Python API Reference 12.0.0 documentation

# CameraBuilderStockLens Enumeration

NXOpen.Display.CameraBuilder.StockLens is an alias for NXOpen.Display.CameraBuilderStockLens

class `NXOpen.Display.``CameraBuilderStockLens`

  Bases: `object`

  Predefined lenses: 28, 35, 50, 70, 105, 135, 210, 300mm

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  S28 | 28mm
  S35 | 35mm
  S50 | 50mm
  S70 | 70mm
  S105 | 105mm
  S135 | 135mm
  S210 | 210mm
  S300 | 300mm

  `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.