NXOpen.UF.Disp.ExportWindowsMetafile

Disp.ExportWindowsMetafile()

Refer to UF_DISP_export_windows_metafile for documentation.

Signature: ExportWindowsMetafile(outputType, fileSpec)

Parameters:
  • outputType (NXOpen.UF.Disp.WmfOutput Refer to UF_DISP_wmf_output_e for documentation.) – Specifies where the output Enhanced Metafile should be written: UF_DISP_WMF_TO_CLIPBOARD writes directly to the Windows clipboard. This is not available in external NX Open programs. UF_DISP_WMF_TO_FILE uses the following file_spec to output the metafile data to.
  • fileSpec (str) – The file specification of the file to create. This parameter is used only when the output_type is UF_DISP_WMF_TO_FILE. This file specification must be at most MAX_FSPEC_SIZE characters.

License requirements: None