NXOpen.UF.Disp.CreateImage

Disp.CreateImage()

Refer to UF_DISP_create_image for documentation.

Signature: CreateImage(filename, format, color)

Parameters:
  • filename (str) – Name of output image file
  • format (NXOpen.UF.Disp.ImageFormat Refer to UF_DISP_image_format_e for documentation.) – Image type to produce: UF_DISP_PNG UF_DISP_JPEG UF_DISP_TIFF UF_DISP_COMPRESSED_TIFF UF_DISP_GIF UF_DISP_XWD (Only on UNIX workstations) UF_DISP_BMP (Only on Windows workstations)
  • color (NXOpen.UF.Disp.BackgroundColor Refer to UF_DISP_background_color_e for documentation.) – Back ground color: UF_DISP_ORIGINAL UF_DISP_WHITE

License requirements: None