UF_PART_load_status_s (view source)
 
Defined in: uf_part_types.h
 
Also known as:
 
Overview
Data structure to return the part names and statuses of all parts retrieved
into the session by either
UF_PART_open or
UF_ASSEM_add_part_to_assembly

Starting NX3: The utility routine UF_PART_free_load_status has been provided
to free the allocated memory below. This may be used as an alternative to
calling UF_free_string_array and UF_free directly.


Data Members

failed
logical
Output: True if the load failed and was
rolled back

user_abort
logical
Output: True if the only 'failure' was user abort

n_parts
int
Output: Length of the following two
allocated arrays. Number of parts that had
errors or warnings when loading. This is the
number (dimension) of entries in the file_names
and statuses arrays.

file_names
char * *
<OF>
Allocated array of file names

statuses
int *
<OF>
Allocated array of associated status codes
for each file name. Use UF_get_fail_message
on each status code in the array to get
the associated message string.
The allocated array must be freed.