UF_CGM_ask_default_custom_colors (view source)
 
Defined in: uf_cgm.h
 
Overview
Returns the default CGM export custom colors.

Environment
Internal and External

See Also
UF_CGM_custom_colors_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_ask_default_custom_colors
(
UF_CGM_custom_colors_p_t custom_colors
)
UF_CGM_custom_colors_p_tcustom_colorsOutputThe custom colors

 


 
UF_CGM_ask_default_custom_widths (view source)
 
Defined in: uf_cgm.h
 
Overview
Returns the default CGM export custom widths.

Environment
Internal and External

See Also
UF_CGM_custom_widths_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_ask_default_custom_widths
(
UF_CGM_custom_widths_p_t custom_widths
)
UF_CGM_custom_widths_p_tcustom_widthsOutputThe custom widths

 


 
UF_CGM_ask_default_export_options (view source)
 
Defined in: uf_cgm.h
 
Overview
Returns the default CGM export option settings.

Environment
Internal and External

See Also
UF_CGM_export_options_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_ask_default_export_options
(
UF_CGM_export_options_p_t export_options
)
UF_CGM_export_options_p_texport_optionsOutputThe options

 


 
UF_CGM_ask_session_custom_colors (view source)
 
Defined in: uf_cgm.h
 
Overview
Returns the current CGM export custom colors for the session.

Environment
Internal and External

See Also
UF_CGM_custom_colors_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_ask_session_custom_colors
(
UF_CGM_custom_colors_p_t custom_colors
)
UF_CGM_custom_colors_p_tcustom_colorsOutputThe custom colors

 


 
UF_CGM_ask_session_custom_widths (view source)
 
Defined in: uf_cgm.h
 
Overview
Returns the current CGM export custom widths for the session.

Environment
Internal and External

See Also
UF_CGM_custom_widths_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_ask_session_custom_widths
(
UF_CGM_custom_widths_p_t custom_widths
)
UF_CGM_custom_widths_p_tcustom_widthsOutputThe custom widths

 


 
UF_CGM_ask_session_export_options (view source)
 
Defined in: uf_cgm.h
 
Overview
Returns the current CGM export option settings for the session.

Environment
Internal and External

See Also
UF_CGM_export_options_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_ask_session_export_options
(
UF_CGM_export_options_p_t export_options
)
UF_CGM_export_options_p_texport_optionsOutputThe options

 


 
UF_CGM_export_cgm (view source)
 
Defined in: uf_cgm.h
 
Overview
Exports a CGM file with the specified name. Suffix .cgm is appended to
the name if 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.

Environment
Internal and External

See Also
UF_CGM_export_options_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_export_cgm
(
tag_t drawing_sheet,
UF_CGM_export_options_p_t export_options,
const char * file_name
)
tag_tdrawing_sheetInputThe tag of the drawing
sheet to export. If set to
NULL_TAG, the current display
image is exported instead.
UF_CGM_export_options_p_texport_optionsInputSpecifies export options.
If NULL, current session export
options are used instead. If
non-NULL, call
UF_CGM_ask_default_export_options
or
UF_CGM_ask_session_export_options
to initialize the structure before
setting structure fields. Current
session export options are not
modified by structure values.
const char *file_nameInputThe CGM filename

 


 
UF_CGM_import_cgm (view source)
 
Defined in: uf_cgm.h
 
Overview
Imports the CGM file with the specified name.

Environment
Internal and External

See Also
UF_CGM_import_options_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_import_cgm
(
char * file_name,
UF_CGM_import_options_p_t import_options
)
char *file_nameInputThe CGM filename
UF_CGM_import_options_p_timport_optionsInputSpecifies import options.
If NULL, default import
options are used instead. If
non-NULL, call
UF_CGM_init_import_options
to initialize the structure
before setting structure
fields.

 


 
UF_CGM_init_import_options (view source)
 
Defined in: uf_cgm.h
 
Overview
Initializes the fields of a UF_CGM_import_options_t structure to default
values. Call this function before setting structure fields in preparation
to call UF_CGM_import_cgm.

Environment
Internal and External

See Also
UF_CGM_import_options_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_init_import_options
(
UF_CGM_import_options_p_t import_options
)
UF_CGM_import_options_p_timport_optionsOutputThe options

 


 
UF_CGM_register_callbacks (view source)
 
Defined in: uf_cgm.h
 
Overview
Registers functions to be called when exporting a CGM starts or stops.

Environment
Internal and External

History
Originally released in NX6.0.4
 
Required License(s)
gateway

 
int UF_CGM_register_callbacks
(
UF_CGM_pre_export_f_t pre_export,
UF_CGM_post_export_f_t post_export,
UF_CGM_export_error_f_t export_error
)
UF_CGM_pre_export_f_tpre_exportInputThe function to be called when
a CGM export is started.
UF_CGM_post_export_f_tpost_exportInputThe function to be called when
a CGM export is finished.
UF_CGM_export_error_f_texport_errorInputThe function to be called when
a CGM export gets an error.

 


 
UF_CGM_set_session_custom_colors (view source)
 
Defined in: uf_cgm.h
 
Overview
Modifies the current CGM export custom colors for the session. Call
one of the following functions to initialize the UF_CGM_custom_colors_t
structure before setting structure fields.

UF_CGM_ask_default_custom_colors
UF_CGM_ask_session_custom_colors
UF_PLOT_ask_drawing_sheet_colors
UF_PLOT_read_custom_colors_from_cdf

Environment
Internal and External

See Also
UF_CGM_custom_colors_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_set_session_custom_colors
(
UF_CGM_custom_colors_p_t custom_colors
)
UF_CGM_custom_colors_p_tcustom_colorsInputThe custom colors

 


 
UF_CGM_set_session_custom_widths (view source)
 
Defined in: uf_cgm.h
 
Overview
Modifies the current CGM export custom widths for the session. Call
one of the following functions to initialize the UF_CGM_custom_widths_t
structure before setting structure fields.

UF_CGM_ask_default_custom_widths
UF_CGM_ask_session_custom_widths
UF_PLOT_ask_drawing_sheet_widths
UF_PLOT_read_custom_widths_from_wdf

Environment
Internal and External

See Also
UF_CGM_custom_widths_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_set_session_custom_widths
(
UF_CGM_custom_widths_p_t custom_widths
)
UF_CGM_custom_widths_p_tcustom_widthsInputThe custom widths

 


 
UF_CGM_set_session_export_options (view source)
 
Defined in: uf_cgm.h
 
Overview
Modifies the current CGM export option settings for the session. Call
UF_CGM_ask_default_export_options or UF_CGM_ask_session_export_options
to initialize the UF_CGM_export_options_t structure before setting
structure fields.

Environment
Internal and External

See Also
UF_CGM_export_options_t

History
Originally released in NX3.0.
 
Required License(s)
gateway

 
int UF_CGM_set_session_export_options
(
UF_CGM_export_options_p_t export_options
)
UF_CGM_export_options_p_texport_optionsInputThe options

 


 
UF_CGM_unregister_callbacks (view source)
 
Defined in: uf_cgm.h
 
Overview
Unregisters functions to be called when exporting a CGM starts or stops.

Environment
Internal and External

History
Originally released in NX6.0.4
 
Required License(s)
gateway

 
int UF_CGM_unregister_callbacks
(
UF_CGM_pre_export_f_t pre_export,
UF_CGM_post_export_f_t post_export,
UF_CGM_export_error_f_t export_error
)
UF_CGM_pre_export_f_tpre_exportInputThe function previously registered
to be called when a CGM export is started.
UF_CGM_post_export_f_tpost_exportInputThe function previously registered
to be called when a CGM export is finished.
UF_CGM_export_error_f_texport_errorInputThe function previously registered
to be called when a CGM export gets an error.