NXOpen.UF.Disp.CreateFramedImage

Disp.CreateFramedImage()

Refer to UF_DISP_create_framed_image for documentation.

Signature: CreateFramedImage(filename, format, color, upperLeftCorner, width, height)

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 - original background color UF_DISP_WHITE - white background color.
  • upperLeftCorner (list of int) – The Image’s upper left corner in the window. Set both x and y to 0 (zero) for a full screen image. upper_left_corner[0] = x position upper_left_corner[1] = y position
  • width (int) – Image width in pixels. Set to 0 (zero) for full screen image.
  • height (int) – Image height in pixels. Set to 0 (zero) for full screen image.

License requirements: None