UF_UGMGR_saveas_dataset_info_s (view source)
 
Defined in: uf_ugmgr_types.h
 
Also known as:
 
Overview
This structure is used to hold the input and output arguments to
UF_UGMGR_saveas_dataset_info, which supercedes
UF_UGMGR_saveas_dataset_name. This user exit is called when
NX Manager is about to save a part with non-masters attached to it.
It collects information about how to save these non-masters and
returns it to NX.


Data Members

old_part_number
const char *
Original item id

old_rev_name
const char *
Original revision id

new_part_number
const char *
New item id

new_rev_name
const char *
New revision id

new_part_type
const char *
New item type

dataset_count
int
Number of datasets

dataset_list
char * *
Names of datasets

dataset_name_list
char * * *
Array of dataset names

copy_state
int * *
Array of values, each one of
{USER_DATASET_always_copy,
USER_DATASET_never_copy,
USER_DATASET_user_chooses}

name_locked
logical * *
Array of values; indicates whether the
user is allowed to change the suggested name
returned from the user exit.

validation_required
logical * *
Array of values. Indicates whether or not
the name must pass the validation check.

original_owner
logical * *
Array of values. Indicates whether the
new non-masters are to be owned by the original
owner or by the user doing the saving.

allow_duplicates
logical *
Whether or not duplicate non-master names are
allowed.

ifail
int
Failure code returned
from the user program,
zero is success.