UF_PLOT_add_job_to_plot_layout (查看源代码)
定义在: uf_plot.h
概述
Adds a plot job to the plot layout, and outputs the rectangular bounds of the
plot in the specified units coordinates.
NOTE - If an error occurs during execution, the plot layout will be cleared.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_add_job_to_plot_layout
(
tag_t drawing_sheet,
UF_PLOT_job_options_p_t job_options,
char * job_name,
UF_PLOT_units_t units,
double origin [ 2 ] ,
UF_PLOT_rotation_t rotation,
double scale,
UF_PLOT_extents_p_t extents
)
| tag_t (tag_t类型) | drawing_sheet | Input(输入) | Tag of drawing sheet. If this is NULL_TAG, the current display is being plotted. |
| UF_PLOT_job_options_p_t | job_options | Input(输入) | Specifies plot job options. If NULL, current session job options are used instead. If non-NULL, call UF_PLOT_ask_default_job_options or UF_PLOT_ask_session_job_options to initialize the structure before setting structure fields. Current session job options are not modified by structure values. |
| char * (字符型指针) | job_name | Input(输入) | Name of the job |
| UF_PLOT_units_t | units | Input(输入) | Units used to define the plot origin and extents. |
| double (实数型) | origin [ 2 ] | Input(输入) | The location of the plot origin expressed in the specified units. |
| UF_PLOT_rotation_t | rotation | Input(输入) | Defines the orientation of the plot in the plot layout. |
| double (实数型) | scale | Input(输入) | Defines the scale of the plot in the plot layout. |
| UF_PLOT_extents_p_t | extents | Output(输出) | If non-NULL the rectangular bounds of the plot in the layout (the coordinates of the lower-left and the upper-right corners of the plot in millimeters or inches as indicated by the units parameter) are returned. |
UF_PLOT_ask_default_banner_options (查看源代码)
定义在: uf_plot.h
概述
Returns the default banner option settings.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_default_banner_options
(
UF_PLOT_banner_options_p_t banner_options
)
UF_PLOT_ask_default_custom_colors (查看源代码)
定义在: uf_plot.h
概述
Returns the default plotting custom colors.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_default_custom_colors
(
UF_PLOT_custom_colors_p_t custom_colors
)
UF_PLOT_ask_default_custom_widths (查看源代码)
定义在: uf_plot.h
概述
Returns the default plotting custom widths.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_default_custom_widths
(
UF_PLOT_custom_widths_p_t custom_widths
)
UF_PLOT_ask_default_job_name (查看源代码)
定义在: uf_plot.h
概述
Returns the default job name. The name might include the part name, the user
name, or a descriptive string, according to job name preferences specified in
the customer defaults file. If the specified drawing sheet tag is not NULL_TAG,
the drawing sheet name is appended to the end of the job name. The returned
job name can be used for constructing file names and other purposes.
The name is returned (such as can be constructed) even if there are errors.
However, no name will be returned if the drawing sheet is not in the
displayed part.
环境
内部和外部
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_default_job_name
(
tag_t drawing_sheet,
char * * job_name
)
| tag_t (tag_t类型) | drawing_sheet | Input(输入) | If not NULL_TAG, the name of this drawing sheet is appended to the end of the job name |
| char * * | job_name | Output to be freed 输出并释放 | String with job name. User must free with UF_free() |
UF_PLOT_ask_default_job_options (查看源代码)
定义在: uf_plot.h
概述
Returns the default plot job option settings.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_default_job_options
(
UF_PLOT_job_options_p_t job_options
)
UF_PLOT_ask_default_printer_and_profile (查看源代码)
定义在: uf_plot.h
概述
Returns the name of the default printer and default profile for the current
printer group. Both arrays must be freed with UF_free.
环境
Internal and External
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_default_printer_and_profile
(
char * * printer,
char * * profile
)
| char * * | printer | Output to be freed 输出并释放 | The default printer in the current printer group. Must be freed with UF_free() |
| char * * | profile | Output to be freed 输出并释放 | The default profile in the current printer group. Must be freed with UF_free() |
UF_PLOT_ask_drawing_sheet_colors (查看源代码)
定义在: uf_plot.h
概述
Returns the current custom colors for the drawing sheet. If no
custom colors are saved for the specified drawing sheet an error is returned.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_drawing_sheet_colors
(
tag_t drawing_sheet,
UF_PLOT_custom_colors_p_t custom_colors
)
UF_PLOT_ask_drawing_sheet_widths (查看源代码)
定义在: uf_plot.h
概述
Returns the current custom widths for the drawing sheet. If no custom
widths are saved for the specified drawing sheet an error is returned.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_drawing_sheet_widths
(
tag_t drawing_sheet,
UF_PLOT_custom_widths_p_t custom_widths
)
UF_PLOT_ask_plot_layout_extents (查看源代码)
定义在: uf_plot.h
概述
Returns the total bounds of the plot layout, the lower-left and upper-right
corners of the smallest rectangle that encloses all plots, in millimeters or
inches as indicated by the units parameter.
环境
内部和外部
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_plot_layout_extents
(
UF_PLOT_units_t units,
UF_PLOT_extents_p_t extents
)
| UF_PLOT_units_t | units | Input(输入) | UF_PLOT_MILLIMETERS - the extents are returned in millimeters. UF_PLOT_INCHES - the extents are returned in inches |
| UF_PLOT_extents_p_t | extents | Output(输出) | The rectangular bounds of the plot in the layout. |
UF_PLOT_ask_printer_groups (查看源代码)
定义在: uf_plot.h
概述
Returns the printer groups if the printer group list file exists.
Otherwise, returns zero printer groups.
More information about the Printer Group List File is available under
the Printer Administration section in the Gateway Help documentation.
环境
内部和外部
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_printer_groups
(
int * num_printer_groups,
UF_PLOT_printer_group_p_t * printer_groups
)
| int * (整数型指针) | num_printer_groups | Output(输出) | Number of printer groups |
| UF_PLOT_printer_group_p_t * | printer_groups | Output to be freed 输出并释放 | Printer groups array. Must be freed with UF_free() |
UF_PLOT_ask_printer_names (查看源代码)
定义在: uf_plot.h
概述
Returns the names of the printers for the current printer group.
Each printer name in the array must be freed with UF_free, and the array of
printer names must also be freed with UF_free. NULL is returned if
there are no printers.
环境
Internal and External
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_printer_names
(
int * num_printers,
char * * * printers
)
| int * (整数型指针) | num_printers | Output(输出) | Number of printers in the current printer group. |
| char * * * | printers | Output to be freed 输出并释放 | Names of the printers in the current printer group. Each name and the array of names must be freed with UF_free() |
UF_PLOT_ask_profile_names (查看源代码)
定义在: uf_plot.h
概述
Returns an allocated array of the profile names associated with the
given printer in the current printer group. Each profile name in the array
must be freed with UF_free, and the array of profile names must also be freed
with UF_free.
环境
Internal and External
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_profile_names
(
char * printer,
int * num_profiles,
char * * * profiles
)
| char * (字符型指针) | printer | Input(输入) | The name of a printer in the current printer group |
| int * (整数型指针) | num_profiles | Output(输出) | The number of profiles associated with the given printer. |
| char * * * | profiles | Output to be freed 输出并释放 | The profile names associated with the given printer in the current group. Each name and the array of names must be freed with UF_free() |
UF_PLOT_ask_session_banner_options (查看源代码)
定义在: uf_plot.h
概述
Returns the current banner option settings for the session.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_session_banner_options
(
UF_PLOT_banner_options_p_t banner_options
)
UF_PLOT_ask_session_custom_colors (查看源代码)
定义在: uf_plot.h
概述
Returns the current plotting custom colors for the session.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_session_custom_colors
(
UF_PLOT_custom_colors_p_t custom_colors
)
UF_PLOT_ask_session_custom_widths (查看源代码)
定义在: uf_plot.h
概述
Returns the current plotting custom widths for the session.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_session_custom_widths
(
UF_PLOT_custom_widths_p_t custom_widths
)
UF_PLOT_ask_session_job_options (查看源代码)
定义在: uf_plot.h
概述
Returns the current plot job option settings for the session.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_ask_session_job_options
(
UF_PLOT_job_options_p_t job_options
)
UF_PLOT_clear_plot_layout (查看源代码)
定义在: uf_plot.h
概述
Removes all plots from the plot layout, leaving it empty.
NOTE - This routine is unnecessary after a successful call to
UF_PLOT_save_cgm_for_plot_layout or UF_PLOT_print_plot_layout as they
automatically clear the plot layout upon successful execution.
环境
内部和外部
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_clear_plot_layout
(
void
)
UF_PLOT_compare_ughpgl_files (查看源代码)
定义在: uf_plot.h
概述
Compares the lines created by plotter pen movements in two HPGL
plot files created in NX, and returns a resulting plot file. The resulting
plot file shows the lines which are the same and those which are
different between the plot files compared.
环境
内部和外部
历史
This function was originally released in V14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_compare_ughpgl_files
(
char * first_plot,
char * second_plot,
UF_PLOT_ughpgl_cmp_options_p_t compare_options,
char * result_plot,
UF_PLOT_diff_cmp_status_t * comparison_result
)
| char * (字符型指针) | first_plot | Input(输入) | Name of the first plot file (256 char max) |
| char * (字符型指针) | second_plot | Input(输入) | Name of the second plot file (256 char max) |
| UF_PLOT_ughpgl_cmp_options_p_t | compare_options | Input(输入) | Indicates options considered during comparison of plots. |
| char * (字符型指针) | result_plot | Input(输入) | Name of resulting plot file. If created, this resulting plot file will contain the overlay of both plots. Lines that are the same in both plots will be in one color, lines that are in the first plot only will be in a second color, and lines that are in the second plot only will be in a third color. |
| UF_PLOT_diff_cmp_status_t * | comparison_result | Output(输出) | Comparison results: UF_PLOT_CMP_NO_DIFF_FOUND UF_PLOT_CMP_DIFF_FOUND |
UF_PLOT_convert_custom_widths (查看源代码)
定义在: uf_plot.h
概述
Converts numeric values stored in the UF_PLOT_custom_widths_t structure to the
specified units, and then updates the units field of the structure. This
function can be called to ensure custom widths are expressed in appropriate
units after obtaining the widths from a drawing sheet or WDF.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_convert_custom_widths
(
UF_PLOT_units_t units,
UF_PLOT_custom_widths_p_t custom_widths
)
| UF_PLOT_units_t | units | Input(输入) | UF_PLOT_MILLIMETERS - the custom width data is converted to millimeters. UF_PLOT_INCHES - the custom width is converted to inches |
| UF_PLOT_custom_widths_p_t | custom_widths | Input / Output | custom widths data structure to convert |
UF_PLOT_convert_file (查看源代码)
定义在: uf_plot.h
概述
Parses the indicated CGM or TIFF file, converts the CGM or TIFF data to the
graphics format indicated by the output_format parameter, and saves the
converted data in a file with the specified name, appending an appropriate
suffix if necessary. If a file of the same name already exists, it is
overwritten. Note that this call uses the plotting system to do the conversion
so the plotting system must be configured correctly. In particular the
graphics format that you choose needs to have proper defaults in the NX Print
Print Setup page. In particular the Pixel Dimensions must be non-zero.
Starting in NX 5.0.2, the TIFF conversion is done by calling the cgm2tiff
program released in the NXPLOT kit. The resolution for this conversion is
forced to 72 DPI. You can force the old behavior (which uses the plotting
system) by setting the environment variable UGII_PLOT_CONVERT_OLD_BEHAVIOR.
By far the best way to do a TIFF conversion will be to bypass this call
completely, and directly call the cgm2tiff program to do the conversion
once you have created a CGM file. The cgm2tiff program has options so that
you can control the resolution, scale and rotation of the TIFF file.
环境
内部和外部
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_convert_file
(
char * cgm_or_tiff_file_name,
UF_PLOT_format_t output_format,
char * output_file_name
)
| char * (字符型指针) | cgm_or_tiff_file_name | Input(输入) | Name of CGM or TIFF file to convert |
| UF_PLOT_format_t | output_format | Input(输入) | Format used to create the output file |
| char * (字符型指针) | output_file_name | Input(输入) | Name of converted file |
UF_PLOT_delete_drawing_sheet_colors (查看源代码)
定义在: uf_plot.h
概述
Deletes custom colors saved for the specified drawing sheet. An error
code is returned if the drawing sheet has no custom colors.
环境
内部和外部
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_delete_drawing_sheet_colors
(
tag_t drawing_sheet
)
| tag_t (tag_t类型) | drawing_sheet | Input(输入) | Colors will be deleted from this drawing |
UF_PLOT_delete_drawing_sheet_widths (查看源代码)
定义在: uf_plot.h
概述
Deletes drawing sheet widths saved for the specified drawing sheet. An error
code is returned if the drawing sheet has no widths.
环境
内部和外部
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_delete_drawing_sheet_widths
(
tag_t drawing_sheet
)
| tag_t (tag_t类型) | drawing_sheet | Input(输入) | Widths will be deleted from this drawing |
UF_PLOT_has_drawing_sheet_colors (查看源代码)
定义在: uf_plot.h
概述
Returns whether or not custom colors are saved for the specified
drawing sheet.
环境
内部和外部
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_has_drawing_sheet_colors
(
tag_t drawing_sheet,
logical * drawing_sheet_has_colors
)
| tag_t (tag_t类型) | drawing_sheet | Input(输入) | tag of sheet to check |
| logical * | drawing_sheet_has_colors | Output(输出) | TRUE - drawing sheet colors are saved for this drawing sheet. FALSE - drawing sheet colors are not saved for this drawing sheet. |
UF_PLOT_has_drawing_sheet_widths (查看源代码)
定义在: uf_plot.h
概述
Returns whether or not custom widths are saved for the specified drawing sheet.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_has_drawing_sheet_widths
(
tag_t drawing_sheet,
logical * drawing_sheet_has_widths
)
| tag_t (tag_t类型) | drawing_sheet | Input(输入) | tag of sheet to check |
| logical * | drawing_sheet_has_widths | Output(输出) | TRUE - drawing sheet widths are saved for this drawing sheet. FALSE - drawing sheet widths are not saved for this drawing sheet. |
UF_PLOT_print (查看源代码)
定义在: uf_plot.h
概述
Prints a plot job. The drawing sheet provided must be in the displayed part.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_print
(
tag_t drawing_sheet,
UF_PLOT_job_options_p_t job_options,
char * job_name,
UF_PLOT_banner_options_p_t banner_options,
char * printer,
char * profile,
int num_copies
)
| tag_t (tag_t类型) | drawing_sheet | Input(输入) | The plot job represents this drawing sheet. If NULL_TAG, the plot job represents the current display image. |
| UF_PLOT_job_options_p_t | job_options | Input(输入) | Specifies plot job options. If NULL, current session job options are used instead. If non-NULL, call UF_PLOT_ask_default_job_options or UF_PLOT_ask_session_job_options to initialize the structure before setting structure fields. Current session job options are not modified by structure values. |
| char * (字符型指针) | job_name | Input(输入) | Name of job to print. |
| UF_PLOT_banner_options_p_t | banner_options | Input(输入) | Specifies banner options. If NULL, current session banner options are used instead. If non-NULL, call UF_PLOT_ask_default_banner_options or UF_PLOT_ask_session_banner_options to initialize the structure before setting structure fields. Current session banner options are not modified by structure values. |
| char * (字符型指针) | printer | Input(输入) | Specifies the name of the printer on which the job is to be printed. If NULL, the default printer is used. |
| char * (字符型指针) | profile | Input(输入) | Specifies the name of the desired profile for the printer. If NULL, the default profile is used. |
| int (整数型) | num_copies | Input(输入) | Number of copies to print. |
UF_PLOT_print_file (查看源代码)
定义在: uf_plot.h
概述
Prints the CGM or TIFF file with the specified name.
环境
内部和外部
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_print_file
(
char * filename,
char * printer,
char * profile,
int num_copies
)
| char * (字符型指针) | filename | Input(输入) | Name of CGM or TIFF file to print |
| char * (字符型指针) | printer | Input(输入) | Specifies the name of the printer on which the job is to be printed. If NULL, the default printer is used. |
| char * (字符型指针) | profile | Input(输入) | Specifies the name of the desired profile for the printer. If NULL, the default profile is used. |
| int (整数型) | num_copies | Input(输入) | Number of copies to print. |
UF_PLOT_print_plot_layout (查看源代码)
定义在: uf_plot.h
概述
Prints the plot layout.
环境
内部和外部
参见
Returns
UF_PLOT_ERR_EMPTY_LAYOUT if the plot layout is empty.
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_print_plot_layout
(
char * job_name,
UF_PLOT_banner_options_p_t banner_options,
char * printer,
char * profile,
int num_copies
)
| char * (字符型指针) | job_name | Input(输入) | Name for the plot job |
| UF_PLOT_banner_options_p_t | banner_options | Input(输入) | Specifies banner options. If NULL, current session banner options are used instead. If non-NULL, call UF_PLOT_ask_default_banner_options or UF_PLOT_ask_session_banner_options to initialize the structure before setting structure fields. Current session banner options are not modified by structure values. |
| char * (字符型指针) | printer | Input(输入) | Specifies the name of the printer on which the job is to be printed. If NULL, the default printer is used. |
| char * (字符型指针) | profile | Input(输入) | Specifies the name of the desired profile for the printer. If NULL, the default profile is used. |
| int (整数型) | num_copies | Input(输入) | Number of copies to print. |
UF_PLOT_read_custom_colors_from_cdf (查看源代码)
定义在: uf_plot.h
概述
Initializes a UF_PLOT_custom_colors_t structure according to color data stored
in the specified CDF.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_read_custom_colors_from_cdf
(
char * cdf_name,
UF_PLOT_custom_colors_p_t custom_colors
)
| char * (字符型指针) | cdf_name | Input(输入) | Name of CDF to use |
| UF_PLOT_custom_colors_p_t | custom_colors | Output(输出) | Color data found in the CDF |
UF_PLOT_read_custom_widths_from_wdf (查看源代码)
定义在: uf_plot.h
概述
Initializes a UF_PLOT_custom_widths_t structure according to width data stored
in the specified WDF.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_read_custom_widths_from_wdf
(
char * wdf_name,
UF_PLOT_custom_widths_p_t custom_widths
)
| char * (字符型指针) | wdf_name | Input(输入) | Name of WDF to use |
| UF_PLOT_custom_widths_p_t | custom_widths | Output(输出) | Width data found in the WDF |
UF_PLOT_save_cgm (查看源代码)
定义在: uf_plot.h
概述
Saves a plot job in a CGM file with the specified name. The Suffix .cgm is
appended to the name if it is not present. If a CGM file of the same name
already exists, it is overwritten. The drawing sheet provided must be in
the displayed part.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_save_cgm
(
tag_t drawing_sheet,
UF_PLOT_job_options_p_t job_options,
char * job_name,
UF_PLOT_banner_options_p_t banner_options,
const char * cgm_file_name
)
| tag_t (tag_t类型) | drawing_sheet | Input(输入) | The plot job represents this drawing sheet. If NULL_TAG, the plot job represents the current display image. |
| UF_PLOT_job_options_p_t | job_options | Input(输入) | Specifies plot job options. If NULL, current session job options are used instead. If non-NULL, call UF_PLOT_ask_default_job_options or UF_PLOT_ask_session_job_options to initialize the structure before setting structure fields. Current session job options are not modified by structure values. |
| char * (字符型指针) | job_name | Input(输入) | Name for the plot job |
| UF_PLOT_banner_options_p_t | banner_options | Input(输入) | Specifies banner options. If NULL, current session banner options are used instead. If non-NULL, call UF_PLOT_ask_default_banner_options or UF_PLOT_ask_session_banner_options to initialize the structure before setting structure fields. Current session banner options are not modified by structure values. |
| const char * | cgm_file_name | Input(输入) | CGM file name |
UF_PLOT_save_cgm_for_plot_layout (查看源代码)
定义在: uf_plot.h
概述
Saves the plot layout in a CGM file with the specified name. Note that the
suffix .cgm is appended to the name if not present. If a CGM file of the
same name already exists, it is overwritten.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_save_cgm_for_plot_layout
(
char * job_name,
UF_PLOT_banner_options_p_t banner_options,
const char * cgm_file_name
)
| char * (字符型指针) | job_name | Input(输入) | Name for the plot job |
| UF_PLOT_banner_options_p_t | banner_options | Input(输入) | Specifies banner options. If NULL, current session banner options are used instead. If non-NULL, call UF_PLOT_ask_default_banner_options or UF_PLOT_ask_session_banner_options to initialize the structure before setting structure fields. Current session banner options are not modified by structure values. |
| const char * | cgm_file_name | Input(输入) | CGM file name |
UF_PLOT_set_drawing_sheet_colors (查看源代码)
定义在: uf_plot.h
概述
Saves the specified custom colors for the indicated drawing sheet. Call
one of the following functions to initialize the UF_PLOT_custom_colors_t
structure before setting structure fields.
UF_PLOT_ask_default_custom_colors
UF_PLOT_ask_session_custom_colors
UF_PLOT_ask_drawing_sheet_colors
UF_PLOT_read_custom_colors_from_cdf
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_set_drawing_sheet_colors
(
tag_t drawing_sheet,
UF_PLOT_custom_colors_p_t custom_colors
)
UF_PLOT_set_drawing_sheet_widths (查看源代码)
定义在: uf_plot.h
概述
Saves the specified widths for the indicated drawing sheet. Call one
of the following functions to initialize the UF_PLOT_custom_widths_t
structure before setting structure fields.
UF_PLOT_ask_default_custom_widths
UF_PLOT_ask_session_custom_widths
UF_PLOT_ask_drawing_sheet_widths
UF_PLOT_read_custom_widths_from_wdf
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_set_drawing_sheet_widths
(
tag_t drawing_sheet,
UF_PLOT_custom_widths_p_t custom_widths
)
UF_PLOT_set_printer_group (查看源代码)
定义在: uf_plot.h
概述
Sets the current printer group
The jobs_dir and home_dir parameters can be NULL, in which case the default
jobs and home directories are used. If group_dir specifies a printer group
in the printer group list file, however, then jobs_dir and home_dir should
be set to the values returned by UF_PLOT_ask_printer_groups for group_dir.
If the jobs and home directories exist, they must be writable. If they do
not exist, it must be possible to create them.
环境
内部和外部
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_set_printer_group
(
char * group_dir,
char * jobs_dir,
char * home_dir
)
| char * (字符型指针) | group_dir | Input(输入) | Group directory |
| char * (字符型指针) | jobs_dir | Input(输入) | Jobs directory |
| char * (字符型指针) | home_dir | Input(输入) | Home directory |
UF_PLOT_set_session_banner_options (查看源代码)
定义在: uf_plot.h
概述
Modifies the current banner option settings for the session. Call
UF_PLOT_ask_default_banner_options or UF_PLOT_ask_session_banner_options
to initialize the UF_PLOT_banner_options_t structure before setting
structure fields.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_set_session_banner_options
(
const UF_PLOT_banner_options_p_t banner_options
)
UF_PLOT_set_session_custom_colors (查看源代码)
定义在: uf_plot.h
概述
Modifies the current plotting custom colors for the session. Call
one of the following functions to initialize the UF_PLOT_custom_colors_t
structure before setting structure fields.
UF_PLOT_ask_default_custom_colors
UF_PLOT_ask_session_custom_colors
UF_PLOT_ask_drawing_sheet_colors
UF_PLOT_read_custom_colors_from_cdf
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_set_session_custom_colors
(
UF_PLOT_custom_colors_p_t custom_colors
)
UF_PLOT_set_session_custom_widths (查看源代码)
定义在: uf_plot.h
概述
Modifies the current plotting custom widths for the session. Call one
of the following functions to initialize the UF_PLOT_custom_widths_t
structure before setting structure fields.
UF_PLOT_ask_default_custom_widths
UF_PLOT_ask_session_custom_widths
UF_PLOT_ask_drawing_sheet_widths
UF_PLOT_read_custom_widths_from_wdf
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_set_session_custom_widths
(
UF_PLOT_custom_widths_p_t custom_widths
)
UF_PLOT_set_session_job_options (查看源代码)
定义在: uf_plot.h
概述
Modifies the current plot job option settings for the session. Call
UF_PLOT_ask_default_job_options or UF_PLOT_ask_session_job_options
to initialize the UF_PLOT_job_options_t structure before setting
structure fields.
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_set_session_job_options
(
UF_PLOT_job_options_p_t job_options
)
UF_PLOT_set_ughpgl_small_tol (查看源代码)
定义在: uf_plot.h
概述
Sets the tolerance which is used when determining if a vector is ignorable.
If a vector is less than or equal to the given length, then the line may
be ignored if it is not matched.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_set_ughpgl_small_tol
(
double small_tolerance,
int units
)
| double (实数型) | small_tolerance | Input(输入) | The maximum length of a vector that may be ignored. |
| int (整数型) | units | Input(输入) | Metric of English units. |
UF_PLOT_set_ughpgl_tol (查看源代码)
定义在: uf_plot.h
概述
Sets the tolerance which is used when comparing non-overlapping vectors
between the first and second plot file. When the vectors compared are a
distance apart of less than or equal to the shift tolerance, they are
checked off as common vectors and not as unique vectors.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_set_ughpgl_tol
(
double shift_tolerance,
int units
)
| double (实数型) | shift_tolerance | Input(输入) | The amount of shift which will be allowed between two non-overlapping pair of vectors from the first and second plot file. If the vectors are within the shift amount, they are then considered one and the same. |
| int (整数型) | units | Input(输入) | Metric of English units. |
UF_PLOT_write_custom_colors_to_cdf (查看源代码)
定义在: uf_plot.h
概述
Saves the custom colors in a CDF with the specified name.
Note that the suffix .cdf is appended to the name if not present.
If a CDF of the same name already exists it is overwritten.
Call one of the following functions to initialize the UF_PLOT_custom_colors_t
structure before setting structure fields.
UF_PLOT_ask_default_custom_colors
UF_PLOT_ask_session_custom_colors
UF_PLOT_ask_drawing_sheet_colors
UF_PLOT_read_custom_colors_from_cdf
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_write_custom_colors_to_cdf
(
char * cdf_name,
UF_PLOT_custom_colors_p_t custom_colors
)
| char * (字符型指针) | cdf_name | Input(输入) | Name of CDF to use |
| UF_PLOT_custom_colors_p_t | custom_colors | Input(输入) | Color data to write in the CDF |
UF_PLOT_write_custom_widths_to_wdf (查看源代码)
定义在: uf_plot.h
概述
Saves the custom width data in a WDF with the specified name.
Note that the suffix .wdf is appended to the name if not present.
If a WDF of the same name already exists it is overwritten.
Call one of the following functions to initialize the UF_PLOT_custom_widths_t
structure before setting structure fields.
UF_PLOT_ask_default_custom_widths
UF_PLOT_ask_session_custom_widths
UF_PLOT_ask_drawing_sheet_widths
UF_PLOT_read_custom_widths_from_wdf
环境
内部和外部
参见
历史
Originally released in NX3.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLOT_write_custom_widths_to_wdf
(
char * wdf_name,
UF_PLOT_custom_widths_p_t custom_widths
)
| char * (字符型指针) | wdf_name | Input(输入) | Name of WDF to use |
| UF_PLOT_custom_widths_p_t | custom_widths | Input(输入) | Width data to write in the WDF |