Types and Symbols

The following data structures are defined in the specified header file.
 


The uf_part.h include file includes the following definitions:
 


typedef struct UF_PART_load_status_s
{ logical failed;
int n_parts;
char **file_names;
int *statuses;
} UF_PART_load_status_t, *UF_PART_load_status_p_t;
 
Parameter
 
Description
 
failed
 
True if any of the parts failed to load.
 
n_parts
 
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
 
Allocated array of file names
 
statuses
 
Allocated array of associated statuses for each file name
 


typedef struct UF_import_part_modes_s
{ int layer_mode;
int group_mode;
int csys_mode;
int plist_mode;
int view_mode;
logical cam_mode;
logical use_search_dirs;
} UF_import_part_modes_t, *UF_import_part_modes_p_t;


 

 
Parameter
 
Description
 
layer_mode
 
0 = Add objects to work layer
1 = Add objects to original layer
 
group_mode
 
0 = Do not group objects
1 = Create group and add objects to it
 
csys_mode
 
Not used in Open C API
 
plist_mode
 
0 = Add nothing to Parts List
1 = Merge Parts List format only, not members
2 = Add merged group to Parts List
3 = Merge Parts List format and Parts List
members to Parts List
 
view_mode
 
view_mode -
0 = Do not merge views
1 = Merge views
 
cam_mode
 
True = merge in tools and parameter sets
False = Do not merge
 
use_search_dirs
 
Not used in Open C API
 

 


typedef struct UF_PART_compress_flags_s
{
logical standard;
} UF_PART_compress_flags_t, *UF_PART_compress_flags_p_t;
 
If solid is TRUE, then the compression flag is set.