uc5800 (查看源代码)
 
定义在: uf_assem.h
 
概述
uc5800 create component by retrieval

环境
Internal and External

Note: No Metric/English auto-scaling will be done.
 
需要许可证(S)
assemblies

 
int uc5800
(
char * cp1,
char * cp2,
char * cp3,
double * rp4,
int ip5,
tag_t * nr6
)
char * (字符型指针)cp1Input(输入)Component name
char * (字符型指针)cp2Input(输入)Component part fspec with extensions
char * (字符型指针)cp3Input(输入)Reference set name
double * (实数型指针)rp4Input(输入)Component information
(1 - 9) component orientation matrix
(10-12) component origin
(13) component scale - obsolete
int (整数型)ip5Input(输入)Layer Mode
0 = retrieve on original layers
1 = retrieve on work layer
tag_t * (tag_t型的指针)nr6Output(输出)Component entity ID

 


 
uc5801 (查看源代码)
 
定义在: uf_assem.h
 
概述
uc5801 read component data

环境
Internal and External
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uc5801
(
tag_t np1,
char * cr2,
char * cr3,
char * cr4,
double * rr5,
int * ir6
)
tag_t (tag_t类型)np1Input(输入)Component entity id
char * (字符型指针)cr2Output(输出)Component name
char * (字符型指针)cr3Output(输出)Component part name
char * (字符型指针)cr4Output(输出)Component reference set name
double * (实数型指针)rr5Output(输出)Component orientation information
(1 - 9) component orientation matrix
(10-12) component origin
(13) component scale - obsolete
int * (整数型指针)ir6Output(输出)Computational date and times
(1-2) component entity
(3-4) component part
note: entity will be current date/time
part will be the beginning of NX time

 


 
uc5802 (查看源代码)
 
定义在: uf_assem.h
 
概述
uc5802 edit component data

环境
Internal and External
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uc5802
(
tag_t np1,
char * cp2,
char * cp3,
double * rp4
)
tag_t (tag_t类型)np1Input(输入)Component entity id
char * (字符型指针)cp2Input(输入)Component part name
char * (字符型指针)cp3Input(输入)Reference set name
double * (实数型指针)rp4Input(输入)Rigid motion information
(1-9) rigid motion matrix
(10-12) rigid motion translation
(13) component scale obsolete

 


 
uc5810 (查看源代码)
 
定义在: uf_assem.h
 
概述
Creates a reference set.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int uc5810
(
char * cp1,
double * rp2,
tag_t * np3,
int ip4,
tag_t * nr5
)
char * (字符型指针)cp1Input(输入)Reference set name (30 char max)
double * (实数型指针)rp2Input(输入)[0] - [8] - Reference Set Orientation Matrix
[9] - [11] - Reference Set Origin
tag_t * (tag_t型的指针)np3Input(输入)Array of reference set member object identifier's
int (整数型)ip4Input(输入)Number Of object identifier's In np3
tag_t * (tag_t型的指针)nr5Output(输出)Reference set object identifier

 


 
uc5811 (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns reference set name, orientation matrix, and origin.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int uc5811
(
tag_t np1,
char * cr2,
double * rr3
)
tag_t (tag_t类型)np1Input(输入)Reference set object identifier
char * (字符型指针)cr2Output(输出)Reference set name (30 char max)
double * (实数型指针)rr3Output(输出)12 element array:
[0] - [8] - Reference Set Orientation Matrix
[9]-[11] - Reference Set Origin

 


 
uc5812 (查看源代码)
 
定义在: uf_assem.h
 
概述
Edits reference set name, origin, and orientation matrix.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int uc5812
(
tag_t np1,
char * cp2,
double * rp3
)
tag_t (tag_t类型)np1Input(输入)Reference set object identifier
char * (字符型指针)cp2Input(输入)Reference set name (30 char max)
double * (实数型指针)rp3Input(输入)12 element array:
[0] - [8] - Reference Set Orientation Matrix
[9] - [11] - Reference Set Origin

 


 
uc5816 (查看源代码)
 
定义在: uf_assem.h
 
概述
uc5816 create component by filing

环境
Internal and External
 
需要许可证(S)
assemblies

 
int uc5816
(
char * cp1,
char * cp2,
char * cp3,
double * rp4,
tag_t * np5,
int ip6,
tag_t * na7
)
char * (字符型指针)cp1Input(输入)Component name
char * (字符型指针)cp2Input(输入)Component part fpsec
char * (字符型指针)cp3Input(输入)Reference set name
0 = all of part
double * (实数型指针)rp4Input(输入)Component information
(1-9) component orientation matrix
(10-12) component origin
tag_t * (tag_t型的指针)np5Input(输入)Array of entity id's to add to component
int (整数型)ip6Input(输入)Count of entity ids in previous argument
tag_t * (tag_t型的指针)na7Input / OutputComponent entity ID
Input:
0 = file component
<>0 = component eid to refile
Output:
component entity id if created by filing

 


 
uc5818 (查看源代码)
 
定义在: uf_assem.h
 
概述
Do a Where-Used List on a Component Part. This operation only finds
component instances in archived parts (on disk).

返回
Error Code:
< 0 = Error
0 = No Error
9 = Option Not Available
21 = No Files Found

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int uc5818
(
char * cp1,
char * cp2
)
char * (字符型指针)cp1Input(输入)Component Part Name
char * (字符型指针)cp2Input(输入)Root Directory To Search (100 char max)

 


 
uf5804 (查看源代码)
 
定义在: uf_assem.h
 
概述
uf5804 read component member

环境
Internal and External
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5804
(
tag_t * np1,
int * ip2,
tag_t * nr3
)
tag_t * (tag_t型的指针)np1Input(输入)Component entity id
int * (整数型指针)ip2Input(输入)Member instance to read
tag_t * (tag_t型的指针)nr3Output(输出)Component member entity id

 


 
UF_ASSEM_activate_sequence (查看源代码)
 
定义在: uf_assem.h
 
概述
Activate the specified sequence. The active sequence is the default sequence
displayed in the sequence navigator (if running in internal mode).

If this function is called outside the sequencing environment (i.e.
UF_ASSEM_initialize_sequence has not been called before) then this will
return the last sequence that was active in the NX session.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_activate_sequence
(
tag_t sequence
)
tag_t (tag_t类型)sequenceInput(输入)The sequence to be activated

 


 
UF_ASSEM_add_part_to_assembly (查看源代码)
 
定义在: uf_assem.h
 
概述
Adds an instance of a part to a parent part. If the part is not loaded,
it is loaded into the current session. The instance is added to the parts
list according to the setting of the parts_list switch (see
UF_ASSEM_ask_assem_options and UF_ASSEM_options_s). The user allocated
structure error_status is filled with the names and associated error codes
of the loaded parts. The allocated arrays must be freed with UF_free and
UF_free_string_array.

If refset_name is a NULL pointer or a zero-length string, the entire part is
used. If instance_name is a NULL pointer or a zero-length string, the instance
is unnamed.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example
See table
 
需要许可证(S)
assemblies

 
int UF_ASSEM_add_part_to_assembly
(
tag_t parent_part,
const char * part,
const char * refset_name,
const char * instance_name,
double origin [ 3 ] ,
double csys_matrix [ 6 ] ,
int layer,
tag_t * instance,
UF_PART_load_status_t * error_status
)
tag_t (tag_t类型)parent_partInput(输入)tag of part to add instance to
const char *partInput(输入)name of part to instance. The part name can
include a directory path. This can not
exceed UF_CFI_MAX_PATH_NAME_LEN characters.
const char *refset_nameInput(输入)Name of reference set to use from component
parts. The refset_name cannot exceed 30
characters, cannot include a directory path,
and should not have a file extension.
const char *instance_nameInput(输入)Name of new instance The instance_name cannot
exceed 30 characters, cannot include a
directory path, and should not have a file
extension.
double (实数型)origin [ 3 ] Input(输入)Position in <parent_part> where the instance
is to be created
double (实数型)csys_matrix [ 6 ] Input(输入)Orientation of the instance
int (整数型)layerInput(输入)-1 Means use the original layers.
0 Means use the work layer
1-255 Means use the specified layer.
tag_t * (tag_t型的指针)instanceOutput(输出)Tag of the new instance in the work part
UF_PART_load_status_t *error_statusOutput to be freed
输出并释放
User allocted structure consisting of
names and associated error codes. The
allocated arrays must be freed with
UF_free_string_array and UF_free.
See the description of the
UF_PART_load_status_t structure for
details on freeing this structure.

 


 
UF_ASSEM_add_ref_set_members (查看源代码)
 
定义在: uf_assem.h
 
概述
Adds an array of members to the reference set passed in.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_add_ref_set_members
(
tag_t ref_set,
int member_count,
tag_t * ref_set_members
)
tag_t (tag_t类型)ref_setInput(输入)Tag of the reference set to add to.
int (整数型)member_countInput(输入)The number of new members to add.
tag_t * (tag_t型的指针)ref_set_membersInput(输入)Array of the new members to add.

 


 
UF_ASSEM_add_to_cset (查看源代码)
 
定义在: uf_assem.h
 
概述
Allows you to add a component to an existing component set.
You can add the component at the single level (level = FALSE),
where only the given component is added to the set. Or, you can add
the component at all levels (level = TRUE), where all the child
components of the given component are also implicitly added to the
set. This means that if subsequently, the component has components
added or removed, the change is also reflected in the component set.

环境
内部和外部

参见
UF_ASSEM_create_cset
to create a new, empty component set.
Refer to example
 
需要许可证(S)
assemblies

 
int UF_ASSEM_add_to_cset
(
tag_t cset,
tag_t component,
logical level
)
tag_t (tag_t类型)csetInput(输入)Object identifier of component set
tag_t (tag_t类型)componentInput(输入)Object identifier of component to be added
logicallevelInput(输入)Include child components switch

 


 
UF_ASSEM_apply_to_cset (查看源代码)
 
定义在: uf_assem.h
 
概述
This routine allows you to apply the given function to each member of
the given component set and, if relevant, to all the members
component children.

环境
内部和外部

参见
Refer to example
 
需要许可证(S)
assemblies

 
int UF_ASSEM_apply_to_cset
(
tag_t cset,
UF_ASSEM_cset_fn_t fn,
void * app_data
)
tag_t (tag_t类型)csetInput(输入)Object identifier of component set
UF_ASSEM_cset_fn_tfnInput(输入)Pointer to required function type
void *app_dataInput / OutputPointer to any application data or NULL

 


 
UF_ASSEM_apply_to_cset_members (查看源代码)
 
定义在: uf_assem.h
 
概述
Allows you to apply the given function to each, explicit member of the
given component set. If you want to apply the function to the children
of each member too, see UF_ASSEM_apply_to_cset.

环境
内部和外部

参见
UF_ASSEM_apply_to_cset
 
需要许可证(S)
assemblies

 
int UF_ASSEM_apply_to_cset_members
(
tag_t cset,
UF_ASSEM_cset_fn_t fn,
void * app_data
)
tag_t (tag_t类型)csetInput(输入)Object identifier of component set
UF_ASSEM_cset_fn_tfnInput(输入)Pointer to required function type
void *app_dataInput / OutputPointer to any application data or NULL

 


 
UF_ASSEM_ask_active_arrangement (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_ask_active_arrangement

Returns the Active Assembly Arrangement for a given
part. This is the Assembly Arrangement which would
take effect for it if that part were made the
Displayed Part.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

参见
UF_ASSEM_set_active_arrangement
UF_ASSEM_ask_used_arrangement
UF_ASSEM_set_used_arrangement
UF_ASSEM_ask_default_arrangement
UF_ASSEM_set_default_arrangement
UF_ASSEM_ask_name_of_arrangement
UF_ASSEM_ask_arrangements_in_part
Refer to example

历史
Initially released in NX2.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_active_arrangement
(
tag_t part,
tag_t * arrangement
)
tag_t (tag_t类型)partInput(输入)The part to query
tag_t * (tag_t型的指针)arrangementOutput(输出)The Active Assembly Arrangement for that part

 


 
UF_ASSEM_ask_active_sequence (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the sequence that is currently active in the session.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_active_sequence
(
tag_t * sequence
)
tag_t * (tag_t型的指针)sequenceOutput(输出)The active sequence in the session

 


 
UF_ASSEM_ask_all_comp_cset (查看源代码)
 
定义在: uf_assem.h
 
概述
Allows you to return the system component set which contains
(implicitly) all the components in the given part.

环境
内部和外部

参见
Refer to example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_all_comp_cset
(
tag_t part,
tag_t * cset
)
tag_t (tag_t类型)partInput(输入)Object identifier of a part
tag_t * (tag_t型的指针)csetOutput(输出)Object identifier of component set found

 


 
UF_ASSEM_ask_all_part_occ_children (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks for a list of all part occurrences under a given part occurrence, including
suppressed part occurrence children.

返回
Returns the count of part occurrences in the list.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_all_part_occ_children
(
tag_t part_occur,
tag_t * * child_part_occs
)
tag_t (tag_t类型)part_occurInput(输入)Tag of part occurrence to query for children
tag_t * *child_part_occsOutput to be freed
输出并释放
Array of tags of child part occurrences. The allocated
list of tags must be freed with UF_free when it is no
longer needed.

 


 
UF_ASSEM_ask_arrangements_in_part (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_ask_arrangements_in_part

Returns all the Assembly Arrangements in a part.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

参见
UF_ASSEM_ask_active_arrangement
UF_ASSEM_set_active_arrangement
UF_ASSEM_ask_used_arrangement
UF_ASSEM_set_used_arrangement
UF_ASSEM_ask_default_arrangement
UF_ASSEM_set_default_arrangement
UF_ASSEM_ask_name_of_arrangement
Refer to example

历史
Initially released in NX2.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_arrangements_in_part
(
tag_t part,
int * n_arrangements,
tag_t * * arrangements
)
tag_t (tag_t类型)partInput(输入)The part to query
int * (整数型指针)n_arrangementsOutput(输出)The number of Assembly Arrangements returned
tag_t * *arrangementsOutput to be freed
输出并释放
The returned Assembly Arrangements

 


 
UF_ASSEM_ask_arrays_in_part (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns a list of the component arrays defined by a given part.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_arrays_in_part
(
tag_t part_tag,
int * num_arrays,
tag_t * * array_tags
)
tag_t (tag_t类型)part_tagInput(输入)Tag of part being queried.
int * (整数型指针)num_arraysOutput(输出)The number of arrays in the part.
tag_t * *array_tagsOutput to be freed
输出并释放
Dynamically allocated array of array tags. This must
be freed by calling UF_free.

 


 
UF_ASSEM_ask_arrays_of_inst (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns a list of the arrays which contain a given instance.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_arrays_of_inst
(
tag_t instance,
int * num_arrays,
tag_t * * arrays
)
tag_t (tag_t类型)instanceInput(输入)Tag of instance being queried.
int * (整数型指针)num_arraysOutput(输出)The number of arrays which contain "instance_tag".
tag_t * *arraysOutput to be freed
输出并释放
Dynamically allocated array of array tags. This must be
freed by the caller using UF_free.

 


 
UF_ASSEM_ask_assem_options (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the current settings of the assembly options into the options
structure supplied by the user.

环境
内部和外部

参见
Refer to UF_ASSEM_options_t
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_assem_options
(
UF_ASSEM_options_t * options
)
UF_ASSEM_options_t *optionsOutput(输出)Pointer to an assembly options structure

 


 
UF_ASSEM_ask_auto_add_new_comps (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_ask_auto_add_new_comps

Ask whether new components will be added to the specified reference set
automatically or not.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

历史
Initially released in NX3.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_auto_add_new_comps
(
tag_t ref_set,
logical * add_new_comps
)
tag_t (tag_t类型)ref_setInput(输入)The reference set
logical *add_new_compsOutput(输出)Whether new components are to be added automatically

 


 
UF_ASSEM_ask_bodies_of_assembly_cut (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_ask_bodies_of_assembly_cut

Ask the target and tool bodies for the assembly cut.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

历史
Initially released in NX3.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_bodies_of_assembly_cut
(
tag_t frec,
int * n_target_bodies,
tag_t * * target_body_tags,
int * n_tool_bodies,
tag_t * * tool_body_tags
)
tag_t (tag_t类型)frecInput(输入)The assembly cut tag
int * (整数型指针)n_target_bodiesOutput(输出)Number of target bodies
tag_t * *target_body_tagsOutput to be freed
输出并释放
Target bodies
int * (整数型指针)n_tool_bodiesOutput(输出)Number of tool bodies
tag_t * *tool_body_tagsOutput to be freed
输出并释放
Tool bodies

 


 
UF_ASSEM_ask_child_of_instance (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the tag of the child part of an instance. Returns NULL_TAG
if the child part of an instance is unloaded.

返回
Returns tag of child part

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_ask_child_of_instance
(
tag_t instance
)
tag_t (tag_t类型)instanceInput(输入)Tag of instance to query for child part

 


 
UF_ASSEM_ask_comp_explosion (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the explosion status and explosion transform of this particular
part occurrence. A part occurrence also inherits the explosion transforms of
its parents. This is intended to supplement UF_ASSEM_ask_component_data
used on instances.

环境
内部和外部

参见
UF_ASSEM_explode_component
UF_ASSEM_unexplode_component
UF_ASSEM_revert_explode_comp
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_comp_explosion
(
tag_t explosion,
tag_t component,
UF_ASSEM_expl_status_p_t status,
double transform [ 4 ] [ 4 ]
)
tag_t (tag_t类型)explosionInput(输入)The explosion to query
tag_t (tag_t类型)componentInput(输入)The component (its part occurrence)
UF_ASSEM_expl_status_p_tstatusOutput(输出)The exploded status of the part
occurrence. This can be one of the
following enumerated constants:
UF_ASSEM_unexploded
UF_ASSEM_exploded
UF_ASSEM_revert_exploded
double (实数型)transform [ 4 ] [ 4 ] Output(输出)If status = UF_ASSEM_exploded, a 4x4
non-distorting transform (see
UF_ASSEM_ask_component_data for
more information).

 


 
UF_ASSEM_ask_comp_position (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the total absolute transform of the component in the given
explosion. This is intended to replace the transform returned by
UF_ASSEM_ask_component_data when used on part occurrences.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_comp_position
(
tag_t explosion,
tag_t component,
double transform [ 4 ] [ 4 ]
)
tag_t (tag_t类型)explosionInput(输入)The explosion to query
tag_t (tag_t类型)componentInput(输入)The component (its part occurrence)
double (实数型)transform [ 4 ] [ 4 ] Output(输出)a 4x4 non-distorting transform (see
UF_ASSEM_ask_component_data for more
information).

 


 
UF_ASSEM_ask_component_data (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns data about an instance or a part occurrence. The instance_name
output is always the name of the instance, even when a part occurrence is
passed to the function. Note that the names of the part occurrence and its
corresponding instance can be different. The refset_name can be different
between a part occurrence and its instance. The full 9 elements of the
csys_matrix are returned. The full transformation matrix is also
returned. The transformation matrix is the 4x4 matrix that combines
the origin and CSYS-matrix into a single matrix.

The format of the 4x4 transform is that the elements:

transform[0][0], transform[0][1], transform[0][2]
transform[1][0], transform[1][1], transform[1][2]
transform[2][0], transform[2][1], transform[2][2]

form a 3x3 orthnormal rotation matrix, the elements :

transform[0][3]
transform[1][3]
transform[2][3]

represent a (X, Y, Z) translation in the units of the part containing the
component, element

transform[3][3]

is always set to 1.0, and the remaining elements are always set to 0.0.

CAUTION: If the reference set of the component you are asking for
data on is set to "Entire Part", the string returned by
UF_ASSEM_ask_component_data for refset_name (third argument)
is "None".

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_component_data
(
tag_t component,
char part_name [ MAX_FSPEC_SIZE+1 ] ,
char refset_name [ MAX_ENTITY_NAME_SIZE+1 ] ,
char instance_name [ UF_CFI_MAX_FILE_NAME_SIZE ] ,
double origin [ 3 ] ,
double csys_matrix [ 9 ] ,
double transform [ 4 ] [ 4 ]
)
tag_t (tag_t类型)componentInput(输入)Tag of instance or part occurrence
charpart_name [ MAX_FSPEC_SIZE+1 ] Output(输出)Name of part
charrefset_name [ MAX_ENTITY_NAME_SIZE+1 ] Output(输出)Name of the reference set in use
charinstance_name [ UF_CFI_MAX_FILE_NAME_SIZE ] Output(输出)name of instance
double (实数型)origin [ 3 ] Output(输出)Position of component
double (实数型)csys_matrix [ 9 ] Output(输出)Coordinate System Matrix
double (实数型)transform [ 4 ] [ 4 ] Output(输出)Transformation Matrix

 


 
UF_ASSEM_ask_cost_of_sequence (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks the cost for the given sequence. The time for the sequence
is an aggregate of the time for each of the steps in the assembly sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_cost_of_sequence
(
tag_t sequence,
double * cost
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
double * (实数型指针)costOutput(输出)The cost of the sequence

 


 
UF_ASSEM_ask_cost_of_step (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks the cost of the given step

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_cost_of_step
(
tag_t step,
double * cost
)
tag_t (tag_t类型)stepInput(输入)The tag of the given step
double * (实数型指针)costOutput(输出)The cost of the step

 


 
UF_ASSEM_ask_current_step (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the current step in the given assembly sequence.
It is now possible that the playback can be stopped in the middle of a sequence
step (i.e. a sequence step is still in progress). If this is the case this function
will return the sequence step that is currently in progress.

If this function is called outside the sequencing environment then this will
return the first step of the given sequence since that is the step that would be
played first if that sequence was made active.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_current_step
(
tag_t sequence,
tag_t * step
)
tag_t (tag_t类型)sequenceInput(输入)Tag of the sequence
tag_t * (tag_t型的指针)stepOutput(输出)The step that will be played back next

 


 
UF_ASSEM_ask_default_arrangement (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_ask_default_arrangement

Returns the Default Assembly Arrangement for a given
part. This is the Assembly Arrangement which would
used by a new parent assembly if this part were added
to that parent as a new component.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

参见
UF_ASSEM_ask_active_arrangement
UF_ASSEM_set_active_arrangement
UF_ASSEM_ask_used_arrangement
UF_ASSEM_set_used_arrangement
UF_ASSEM_set_default_arrangement
UF_ASSEM_ask_name_of_arrangement
UF_ASSEM_ask_arrangements_in_part
Refer to example

历史
Initially released in NX2.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_default_arrangement
(
tag_t part,
tag_t * arrangement
)
tag_t (tag_t类型)partInput(输入)The part to query
tag_t * (tag_t型的指针)arrangementOutput(输出)The Default Assembly Arrangement for that part

 


 
UF_ASSEM_ask_default_ref_sets (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the current list of default reference sets. The names of the
reference sets are returned in the order they appear in the load
options dialog (and the order in which they are applied).
UF_ASSEM_set_default_ref_sets for setting these defaults.

环境
内部和外部

参见
UF_ASSEM_restore_load_options
UF_ASSEM_set_default_ref_sets
Refer to example

历史
Original release was in V13.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_default_ref_sets
(
int * n_ref_sets,
char * * * default_ref_sets
)
int * (整数型指针)n_ref_setsOutput(输出)The number of default reference sets.
char * * *default_ref_setsOutput to be freed
输出并释放
An ordered array of reference set names indicating
the default reference sets currently in use. This is
returned in allocated memory and should be freed
using UF_free_string_array.

 


 
UF_ASSEM_ask_deformable_definition (查看源代码)
 
定义在: uf_assem.h
 
环境
Internal and External

历史
Initially released in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_deformable_definition
(
tag_t part,
tag_t * deformable_feature
)
tag_t (tag_t类型)partInput(输入)
tag_t * (tag_t型的指针)deformable_featureOutput(输出)

 


 
UF_ASSEM_ask_deformable_definition_data (查看源代码)
 
定义在: uf_assem.h
 
概述
Inquire routine to obtain the data for the deformable feature.

环境
Internal and External

历史
Initially released in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_deformable_definition_data
(
tag_t deformable_feature_tag,
UF_ASSEM_deform_data_p_t deform_data
)
tag_t (tag_t类型)deformable_feature_tagInput(输入)
UF_ASSEM_deform_data_p_tdeform_dataOutput(输出)

 


 
UF_ASSEM_ask_deformed_definition_data (查看源代码)
 
定义在: uf_assem.h
 
概述
Inquire routine to obtain the data for the deformed feature.

环境
Internal and External

历史
Initially released in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_deformed_definition_data
(
tag_t deformed_feature_tag,
UF_ASSEM_deformed_definition_data_p_t deformed_data
)
tag_t (tag_t类型)deformed_feature_tagInput(输入)
UF_ASSEM_deformed_definition_data_p_tdeformed_dataOutput(输出)

 


 
UF_ASSEM_ask_displayed_deformation_of_part_occ (查看源代码)
 
定义在: uf_assem.h
 
概述
Ask for the current deformed feature for the part occurrence in the context of the
current display part.

环境
Internal and External

历史
Initially released in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_displayed_deformation_of_part_occ
(
tag_t part_occ,
tag_t * deformed_feature
)
tag_t (tag_t类型)part_occInput(输入)
tag_t * (tag_t型的指针)deformed_featureOutput(输出)

 


 
UF_ASSEM_ask_exploded_object (查看源代码)
 
定义在: uf_assem.h
 
概述
In normal circumstances, a dimension or other annotation which is
attached to an object, even in an exploded view, stays in the real
position of that object. When attaching such annotation to an object in
an exploded view, the new_object tag given by this function should be
used instead of the normal tag.

Please note that the behavior of an annotation attached to the
unexploded object in an exploded view is not guaranteed to be
consistent, and indeed may be considered erroneous in some cases.
The function is designed to be as resilient as possible, as is
demonstrated by the example.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_exploded_object
(
tag_t explosion,
tag_t old_object,
tag_t * new_object
)
tag_t (tag_t类型)explosionInput(输入)The tag of the explosion used in the view to which
you wish to place the annotation.
tag_t (tag_t类型)old_objectInput(输入)The normal tag for the object.
tag_t * (tag_t型的指针)new_objectOutput(输出)The tag of the exploded version, or the original tag
in all cases where there is no exploded version.

 


 
UF_ASSEM_ask_explosion_vector (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the suggested explosion vector for the component (the
direction in which it appears to be explodable), derived from mating
conditions. An error is returned if the component is not mated or not
properly constrained by the mating conditions.

环境
内部和外部

参见
UF_ASSEM_create_explosion
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_explosion_vector
(
tag_t component,
double vector [ 3 ]
)
tag_t (tag_t类型)componentInput(输入)the tag of a part occurrence not instance
double (实数型)vector [ 3 ] Output(输出)The suggested explosion vector derived from mating
conditions in absolute coordinates.

 


 
UF_ASSEM_ask_explosions (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks for all the explosions in a part file

环境
内部和外部

历史
Initially released into NX3.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_explosions
(
tag_t part_tag,
int* n_explosions,
tag_t* * explosion_tags
)
tag_t (tag_t类型)part_tagInput(输入)The tag of the part for which to get the explosions.
int*n_explosionsOutput(输出)Number of explosions.
tag_t* *explosion_tagsOutput to be freed
输出并释放
The tags of the explosions in this part.
This array must be freed by the caller using UF_free.

 


 
UF_ASSEM_ask_hidden_comps (查看源代码)
 
定义在: uf_assem.h
 
概述
Return an array of the components hidden in the given view.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_hidden_comps
(
tag_t view,
tag_p_t* components,
int* count
)
tag_t (tag_t类型)viewInput(输入)The view you are seeking informaton on
tag_p_t*componentsOutput to be freed
输出并释放
The components which are erased in the view.
This array must be freed by the caller using UF_free.
int*countOutput(输出)The number of component tags in the array.

 


 
UF_ASSEM_ask_inst_of_part_occ (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the instance tag of a part occurrence.

返回
Instance tag of part occurrence

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_ask_inst_of_part_occ
(
tag_t part_occur
)
tag_t (tag_t类型)part_occurInput(输入)Tag of part occurrence to query for instance.

 


 
UF_ASSEM_ask_instance_intent (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns intent data of an instance. The caller must allocate the
UF_ASSEM_instance_intent_t structure, and pass the pointer to that
structure to this routine. The routine then fills the structure
with data, which includes dynamically allocated data.

环境
内部和外部

参见
UF_ASSEM_free_instance_intent
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_instance_intent
(
tag_t instance,
UF_ASSEM_instance_intent_p_t instance_intent
)
tag_t (tag_t类型)instanceInput(输入)Object identifier of the instance
UF_ASSEM_instance_intent_p_tinstance_intentOutput to be freed
输出并释放
Data of the intent. The caller
must free data inside this
structure by calling
UF_ASSEM_free_instance_intent
when the structure is no longer
needed.

 


 
UF_ASSEM_ask_instance_of_name (查看源代码)
 
定义在: uf_assem.h
 
概述
Return the tag of the instance which has the given name, below the parent
part (one level only).

返回
Tag of named instance

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_ask_instance_of_name
(
tag_t parent_part,
const char * instance_name
)
tag_t (tag_t类型)parent_partInput(输入)Tag of parent part
const char *instance_nameInput(输入)Name of instance to obtain tag for

 


 
UF_ASSEM_ask_iset_array_data (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns information about an ISET Component array in the
"array_data" structure and a dynamically allocated array of tags.

For rectangular arrays, the components in the list are as follows:


Figure. Rectangular Array Component List

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_iset_array_data
(
tag_t array,
UF_ASSEM_iset_array_data_p_t array_data,
tag_t * * components
)
tag_t (tag_t类型)arrayInput(输入)Tag of array.
UF_ASSEM_iset_array_data_p_tarray_dataOutput to be freed
输出并释放
Pointer to data structure which is to
be filled with array parameters. Use
UF_free to deallocate memory.
tag_t * *componentsOutput to be freed
输出并释放
Tags of components. Use UF_free to deallocate memory.

 


 
UF_ASSEM_ask_last_filter (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_ask_last_filter

Returns the last used filter stored for the given part tag. The output is either
a filter tag or a cset tag, but could never be both at the same time. Both output
arguments may return a null tag if there is no filter or component set matching
the stored filter name in the given part file.

If a filter tag is returned, you may use UF_FLTR_evaluate_filter for each of
the part occurrences in your assembly to check whether it needs to be loaded or
not. If a cset tag is returned, you may use UF_PART_open_cset to open that
component set directly.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

历史
Initially released in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_last_filter
(
tag_t part,
tag_t * filter_tag,
tag_t * cset_tag
)
tag_t (tag_t类型)partInput(输入)Tag of the input part
tag_t * (tag_t型的指针)filter_tagOutput(输出)Tag of last filter used to open the part
tag_t * (tag_t型的指针)cset_tagOutput(输出)Tag of last cset used to open the part

 


 
UF_ASSEM_ask_mc_array_data (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns information about a Master Component array in the
"array_data" structure and a dynamically allocated array of tags.

For 2D linear arrays, the component list is laid out as follows:




环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_mc_array_data
(
tag_t array,
UF_ASSEM_mc_array_data_p_t array_data,
tag_t * * components
)
tag_t (tag_t类型)arrayInput(输入)Tag of array.
UF_ASSEM_mc_array_data_p_tarray_dataOutput(输出)Pointer to data structure which is to be
filled with array parameters. The caller
is responsible for freeing the array_name
member by calling UF_free.
tag_t * *componentsOutput to be freed
输出并释放
Tags of components. Use UF_free to deallocate memory.

 


 
UF_ASSEM_ask_name_of_arrangement (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_ask_name_of_arrangement

Returns the name of the given Assembly Arrangement.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

参见
UF_ASSEM_ask_active_arrangement
UF_ASSEM_set_active_arrangement
UF_ASSEM_ask_used_arrangement
UF_ASSEM_set_used_arrangement
UF_ASSEM_ask_default_arrangement
UF_ASSEM_set_default_arrangement
UF_ASSEM_ask_arrangements_in_part
Refer to example

历史
Initially released in NX2.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_name_of_arrangement
(
tag_t arrangement,
char * * name
)
tag_t (tag_t类型)arrangementInput(输入)The Assembly Arrangement to query
char * *nameOutput to be freed
输出并释放
The name of the given Assembly Arrangement

 


 
UF_ASSEM_ask_occs_of_entity (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks for all of the occurrences of object in all part occurrences in the
session.

返回
Returns the count of the object occurrences.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_occs_of_entity
(
tag_t object,
tag_t * * occurrences
)
tag_t (tag_t类型)objectInput(输入)Tag of object to query for occurrences
tag_t * *occurrencesOutput to be freed
输出并释放
Array of tags of occurrences. The occurrences array
must be freed with UF_free when it is no longer needed.

 


 
UF_ASSEM_ask_occs_of_part (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks for tags of all part occurrences of "part" under the assembly of
"parent_part."

返回
Returns the count of part occurrences.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_occs_of_part
(
tag_t parent_part,
tag_t part,
tag_t * * part_occs
)
tag_t (tag_t类型)parent_partInput(输入)Tag of parent part to query. If parent_part is
NULL, uses the current displayed part.
tag_t (tag_t类型)partInput(输入)Tag of part with occurrences
tag_t * *part_occsOutput to be freed
输出并释放
Array of part occurrence tags. The part_occs array
must be freed with UF_free when it is no longer needed.

 


 
UF_ASSEM_ask_orientation (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the origin and orientation of a reference set.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_orientation
(
tag_t ref_set_tag,
double origin [ 3 ] ,
double orientation [ 9 ]
)
tag_t (tag_t类型)ref_set_tagInput(输入)Reference set tag whose orientation and origin are
wanted.
double (实数型)origin [ 3 ] Output(输出)Array to store the origin of the reference set in.
double (实数型)orientation [ 9 ] Output(输出)Array to store the reference set's orientation in.

 


 
UF_ASSEM_ask_parent_component (查看源代码)
 
定义在: uf_assem.h
 
概述
Return the tag of the part_occurrence, or v9 component, containing the
occurrence. The occurrence can be either an entity occurrence,
v9 component or a part occurrence.

环境
内部和外部

参见
example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_parent_component
(
tag_t occur,
tag_t * parent
)
tag_t (tag_t类型)occurInput(输入)Occurrence object to be accessed
tag_t * (tag_t型的指针)parentOutput(输出)Parent object returned (or NULL_TAG if there is not
a parent object)

 


 
UF_ASSEM_ask_parent_of_instance (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the tag of the parent part of an instance.

返回
Parent part tag

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example
and refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_ask_parent_of_instance
(
tag_t instance
)
tag_t (tag_t类型)instanceInput(输入)Tag of instance to query for parent

 


 
UF_ASSEM_ask_part_name_of_child (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the part name of the child part of an instance. If the child
part is loaded, this function is equivalent to
UF_PART_ask_part_name. If the child part is unloaded, then this
function returns the filename of the child part using the current search
options. This file name may then be given to UF_PART_open, or
UF_PART_open_quiet, to open the child part. Alternatively, you can
use the function UF_ASSEM_ensure_child_loaded to load child part in
the context of the current assembly.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_part_name_of_child
(
tag_t instance,
char part_fspec [ MAX_FSPEC_SIZE+1 ]
)
tag_t (tag_t类型)instanceInput(输入)Tag of instance to query for child part
charpart_fspec [ MAX_FSPEC_SIZE+1 ] Output(输出)Part name of child part of instance

 


 
UF_ASSEM_ask_part_occ_children (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks for a list of part occurrences under a given part occurrence.

返回
Returns the count of part occurrences in the list.

环境
内部和外部. Please note that this routine will not
return part occurrence children that are suppressed. Suppressed
part occurrences are, by default, not visible in the assembly.
To get a list of all part occurrence children, including
suppressed ones, please use UF_ASSEM_ask_all_part_occ_children.

参见
The following table of parameter values for this function is
based on the automobile example
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_part_occ_children
(
tag_t part_occur,
tag_t * * child_part_occs
)
tag_t (tag_t类型)part_occurInput(输入)Tag of part occurrence to query for children
tag_t * *child_part_occsOutput to be freed
输出并释放
Array of tags of child part occurrences. The allocated
list of tags must be freed with UF_free when it is no
longer needed.

 


 
UF_ASSEM_ask_part_occ_of_inst (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the tag of the part occurrence corresponding to the instance
and the parent part occurrence. A NULL_TAG passed as the
"parent_part_occ" specifies the displayed part.

返回
Returns tag of part occurrence

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_ask_part_occ_of_inst
(
tag_t parent_part_occ,
tag_t instance
)
tag_t (tag_t类型)parent_part_occInput(输入)Tag of parent part occurrence
tag_t (tag_t类型)instanceInput(输入)Tag of instance

 


 
UF_ASSEM_ask_part_occ_suppress_state (查看源代码)
 
定义在: uf_assem.h
 
概述
Determines if the given part occurrence is suppressed, or if one of the
part occurrences that contains the given part occurrence is suppressed. Part
occurrences that are suppressed, or that have one of their parents suppressed,
are, by default, not visible in the assembly.

环境
Internal and External
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_part_occ_suppress_state
(
tag_t part_occ,
logical * suppressed,
logical * parent_suppressed
)
tag_t (tag_t类型)part_occInput(输入)The tag of the part occurrence to query.
logical *suppressedOutput(输出)True if the given part occurrence is suppressed.
logical *parent_suppressedOutput(输出)True if any parent part occurrence of the given
part occurrence is suppressed. May be NULL if
the caller is not interested in determining the
suppress state of the part occurrence

 


 
UF_ASSEM_ask_part_occs_of_inst (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks for all of the part occurrences associated with an instance.

返回
Returns the count of part occurrences. When a -1 is returned then
the tag is not valid or another error occurred. Zero means there
were no occurrences of the instance.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_part_occs_of_inst
(
tag_t instance,
tag_t * * part_occs
)
tag_t (tag_t类型)instanceInput(输入)Tag of instance to query for part occurrences
tag_t * *part_occsOutput to be freed
输出并释放
Allocated array of tags of part occurrences. The
part_occs array must be freed with UF_free when it is
no longer needed.

 


 
UF_ASSEM_ask_part_occurrence (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the tag of the part_occurrence containing the "occurrence."
"occurrence" can be either an object occurrence or a part occurrence.

返回
Returns tag of part occurrence.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_ask_part_occurrence
(
tag_t occurrence
)
tag_t (tag_t类型)occurrenceInput(输入)Tag of object/part occurrence

 


 
UF_ASSEM_ask_part_occurrence_of_step (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the part occurrences impacted by given sequence step

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_part_occurrence_of_step
(
tag_t step,
int * num_part_occs,
tag_t * * part_occs
)
tag_t (tag_t类型)stepInput(输入)The step to be queried.
int * (整数型指针)num_part_occsOutput(输出)Number of part occurrences
referenced by the step.
tag_t * *part_occsOutput to be freed
输出并释放
The part occurrences referenced by
the step. The array must be UF_free'd

 


 
UF_ASSEM_ask_prototype_of_occ (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the tag of the prototype object if "occurrence" is an object
occurrence tag. Returns the part tag of the part if occurrence is a part
occurrence tag. Returns NULL_TAG if the prototype object of the
occurrence is unloaded. Returns NULL_TAG if a call is made with a
part occurrence of a part which is not loaded.

Before a body/face/edge is promoted, its occurrence points to the prototype in
the component. After a body/face/edge is promoted, a new prototype is created
and the occurrence is changed so that it points to the new prototype (promoted
prototype). The promoted prototype and the promoted body are one and the same.
Therefore, if you query a promoted body for its prototype with
UF_ASSEM_ask_prototype_of_occ, it returns the tag of the promoted body.

You can go from a base body/face/edge to the corresponding promoted
body/face/edge using UF_MODL_prom_map_object_up. Similarly, you can go from a
promoted body/face/edge to the corresponding base body/face/edge using
UF_MODL_prom_map_object_down. Both routines work with prototypes only.

返回
Returns the tag of the prototype

环境
内部和外部

参见
UF_MODL_prom_map_object_up
UF_MODL_prom_map_object_down

The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_ask_prototype_of_occ
(
tag_t occurrence
)
tag_t (tag_t类型)occurrenceInput(输入)Tag of part occurrence or object occurrence

 


 
UF_ASSEM_ask_ref_set_data (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns all the information associated with a reference set. The array
of reference set members requires freeing by the caller.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_ref_set_data
(
tag_t ref_set,
char ref_set_name [ MAX_ENTITY_NAME_SIZE+1 ] ,
double origin [ 3 ] ,
double matrix [ 9 ] ,
int * num_members,
tag_p_t * members
)
tag_t (tag_t类型)ref_setInput(输入)Reference set tag whose data is required.
charref_set_name [ MAX_ENTITY_NAME_SIZE+1 ] Output(输出)The reference set's name.
double (实数型)origin [ 3 ] Output(输出)Array containing the reference set's origin.
double (实数型)matrix [ 9 ] Output(输出)Array containing the reference set's orientation.
int * (整数型指针)num_membersOutput(输出)Number of elements in the reference set.
tag_p_t *membersOutput to be freed
输出并释放
Array of elements in the reference set. Use
UF_free to deallocate memory when done.

 


 
UF_ASSEM_ask_ref_set_members (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns an allocated array of the members of a reference set.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_ref_set_members
(
tag_t ref_set,
int * ret_count,
tag_p_t * members
)
tag_t (tag_t类型)ref_setInput(输入)Reference set tag whose members are wanted.
int * (整数型指针)ret_countOutput(输出)The number of members of the reference set.
tag_p_t *membersOutput to be freed
输出并释放
Array of the members of the reference set. Use
UF_free to deallocate memory when done.

 


 
UF_ASSEM_ask_ref_sets (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns all the reference sets to which the specified reference set
member belongs. This array must be freed by the caller.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_ref_sets
(
tag_t ref_set_member,
int * num_ref_sets,
tag_p_t * ref_sets
)
tag_t (tag_t类型)ref_set_memberInput(输入)Tag whose reference sets are wanted.
int * (整数型指针)num_ref_setsOutput(输出)The number of reference sets that member is in.
tag_p_t *ref_setsOutput to be freed
输出并释放
Array of the reference sets to which the member
belongs. Use UF_free to deallocate memory.

 


 
UF_ASSEM_ask_root_part_occ (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the tag of the root part occurrence, given the tag of a part. This
part occurrence is the top of the part occurrence tree for the part. You
can use this function with UF_ASSEM_ask_part_occ_children to
traverse the part occurrence tree for a part.

返回
Tag of root part occurrence. Returns a NULL_TAG if there is
no root part occurrence (e.g. part with no components).

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_ask_root_part_occ
(
tag_t part
)
tag_t (tag_t类型)partInput(输入)Tag of part

 


 
UF_ASSEM_ask_save_trueshape (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns a logical indicating whether the saving of true shape data is currently
enabled.

环境
Internal and External
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_save_trueshape
(
logical * save_trueshape_data
)
logical *save_trueshape_dataOutput(输出)Logical indicating whether the saving
of true shape data is currently enabled.
(TRUE = save true shape data, FALSE = do not save true shape data)

 


 
UF_ASSEM_ask_search_directories (查看源代码)
 
定义在: uf_assem.h
 
概述
Ask for the list of the search directories.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_search_directories
(
int * count,
char * * * dir_list,
logical * * sub_dir
)
int * (整数型指针)countOutput(输出)The number of directories in the list.
char * * *dir_listOutput to be freed
输出并释放
A pointer to an allocated array of "count" pointers
to allocated character strings containing the
directory names. The array of character strings must
be freed with UF_free_string_array.
logical * *sub_dirOutput to be freed
输出并释放
A pointer to an allocated array of "count" logicals.
Each logical is TRUE if the subdirectories of the
corresponding directory should be searched, or
FALSE if the subdirectories should not be searched.
The array must be freed with UF_free.

 


 
UF_ASSEM_ask_sequence_description (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks the description assigned to the given sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_sequence_description
(
tag_t sequence,
char * * desc
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
char * *descOutput to be freed
输出并释放
The description of the sequence, null terminated.
The returned string must be UF_free'd

 


 
UF_ASSEM_ask_sequence_name (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks the name of the given sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_sequence_name
(
tag_t sequence,
char * * name
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
char * *nameOutput to be freed
输出并释放
The name of the sequence, null terminated.
The returned string must be UF_free'd

 


 
UF_ASSEM_ask_sequence_type (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the type of sequence.

环境
Internal and External

历史
Initially released in NX 3.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_sequence_type
(
tag_t sequence,
int * seq_type
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the sequence
int * (整数型指针)seq_typeOutput(输出)The sequence type. One of the constants
UF_ASSEM_ASSEMBLE_SEQUENCE
UF_ASSEM_DISASSEMBLE_SEQUENCE
UF_ASSEM_OPERATIONAL_SEQUENCE
UF_ASSEM_UNKNOWN_SEQUENCE_TYPE

 


 
UF_ASSEM_ask_sequences_in_part (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks the sequences in the given part.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_sequences_in_part
(
tag_t part,
int * num_sequences,
tag_t * * sequences
)
tag_t (tag_t类型)partInput(输入)The tag of the given part
int * (整数型指针)num_sequencesOutput(输出)Number of sequences
tag_t * *sequencesOutput to be freed
输出并释放
The tags of the sequences. The
user must free this array using
UF_free when done using the data.

 


 
UF_ASSEM_ask_step_increment (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks the step increment of the given sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_step_increment
(
tag_t sequence,
int * increment
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
int * (整数型指针)incrementOutput(输出)The step increment for the sequence

 


 
UF_ASSEM_ask_step_number (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks a step number for the given step. The step number indicates the position
of the step in the sequence, and is automatically generated and maintained by
the sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_step_number
(
tag_t step,
int * ask_step_number
)
tag_t (tag_t类型)stepInput(输入)The tag of the step
int * (整数型指针)ask_step_numberOutput(输出)Step number of the given step

 


 
UF_ASSEM_ask_step_type (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks the type of the given step.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_step_type
(
tag_t step,
int * step_type
)
tag_t (tag_t类型)stepInput(输入)The tag of the step
int * (整数型指针)step_typeOutput(输出)The step type. One of the constants
UF_ASSEM_ASSEMBLE_STEP
UF_ASSEM_DISASSEMBLE_STEP
UF_ASSEM_CAMERA_STEP
UF_ASSEM_MOTION_STEP
UF_ASSEM_SNAPSHOT_STEP

 


 
UF_ASSEM_ask_steps (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks the steps of the given sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_steps
(
tag_t sequence,
int * num_steps,
tag_t * * steps
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the sequence
int * (整数型指针)num_stepsOutput(输出)Number of steps
tag_t * *stepsOutput to be freed
输出并释放
The tags of the steps. The
user must free this array using
UF_free when done using the data.

 


 
UF_ASSEM_ask_steps_of_part_occ (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the steps in the given sequence that reference the specified part
occurrence

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_steps_of_part_occ
(
tag_t sequence,
tag_t part_occ,
int * num_steps,
tag_t * * steps
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
tag_t (tag_t类型)part_occInput(输入)The part occurrence whose steps are required
int * (整数型指针)num_stepsOutput(输出)Number of steps that reference the
part occurrence
tag_t * *stepsOutput to be freed
输出并释放
The steps that reference the given
part occurrence. The array must be UF_free'd

 


 
UF_ASSEM_ask_suppress_state (查看源代码)
 
定义在: uf_assem.h
 
概述
Determines if the given instance is suppressed.

环境
Internal and External
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_suppress_state
(
tag_t instance,
logical * suppressed
)
tag_t (tag_t类型)instanceInput(输入)The tag of the instance to query.
logical *suppressedOutput(输出)True if the given instance is suppressed.

 


 
UF_ASSEM_ask_suppression_exp (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the expression a given instance is dependent on for suppress state. This
will return NULL_TAG if the given instance has no suppression expression.

环境
Internal and External
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_suppression_exp
(
tag_t instance,
tag_t * exp
)
tag_t (tag_t类型)instanceInput(输入)The tag of the instance to get suppression expression
for.
tag_t * (tag_t型的指针)expOutput(输出)Expression used to control suppression for the given
instance.

 


 
UF_ASSEM_ask_time_of_sequence (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks the time for the given sequence. The time for the sequence
is an aggregate of the time for each of the steps in the assembly sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_time_of_sequence
(
tag_t sequence,
double * time
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
double * (实数型指针)timeOutput(输出)The time taken for the step

 


 
UF_ASSEM_ask_time_of_step (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks the time taken for the given step.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_time_of_step
(
tag_t step,
double * time
)
tag_t (tag_t类型)stepInput(输入)The tag of the given step
double * (实数型指针)timeOutput(输出)The time taken for the step

 


 
UF_ASSEM_ask_transform_of_occ (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks the 4x4 transform matrix of an object occurrence or part
occurrence.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_transform_of_occ
(
tag_t occurrence,
double transform [ 4 ] [ 4 ]
)
tag_t (tag_t类型)occurrenceInput(输入)Tag of occurrence to query for transform matrix.
double (实数型)transform [ 4 ] [ 4 ] Output(输出)Transformation matrix for occurrence

 


 
UF_ASSEM_ask_type_of_array (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the type of an array. The system uses one of the defined
constants in UF_ASSEM_MC_ARRAY or UF_ASSEM_ISET_ARRAY.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_type_of_array
(
tag_t array,
int * type
)
tag_t (tag_t类型)arrayInput(输入)Tag of array being queried.
int * (整数型指针)typeOutput(输出)Type of array.

 


 
UF_ASSEM_ask_unprocessed_partoccs (查看源代码)
 
定义在: uf_assem.h
 
概述
Given an assembly sequence tag, this function will return the components that
have not yet been processed in the assembly sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_unprocessed_partoccs
(
tag_t sequence,
int * num_unprocessed_partoccs,
tag_t * * unprocessed_partoccs
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
int * (整数型指针)num_unprocessed_partoccsOutput(输出)Number of unprocessed part occurrences
tag_t * *unprocessed_partoccsOutput to be freed
输出并释放
Tags of unprocessed part occurrences.
The array must be freed using UF_free

 


 
UF_ASSEM_ask_used_arrangement (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_ask_used_arrangement

Returns the Used Assembly Arrangement for a given
component. This is the Assembly Arrangement which
is used to represent that component in the parent
part of that component.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

参见
UF_ASSEM_ask_active_arrangement
UF_ASSEM_set_active_arrangement
UF_ASSEM_set_used_arrangement
UF_ASSEM_ask_default_arrangement
UF_ASSEM_set_default_arrangement
UF_ASSEM_ask_name_of_arrangement
UF_ASSEM_ask_arrangements_in_part
Refer to example

历史
Initially released in NX2.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_used_arrangement
(
tag_t component,
tag_t * arrangement
)
tag_t (tag_t类型)componentInput(输入)The component to query
tag_t * (tag_t型的指针)arrangementOutput(输出)The Used Assembly Arrangement for that component

 


 
UF_ASSEM_ask_view_explosion (查看源代码)
 
定义在: uf_assem.h
 
概述
Get an explosion used in a view. Outputs the tag of the explosion
which is displayed in the view, or a NULL_TAG if the view is
displaying the real assembly.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ask_view_explosion
(
tag_t view,
tag_t * explosion
)
tag_t (tag_t类型)viewInput(输入)The tag of the view about which to enquire
tag_t * (tag_t型的指针)explosionOutput(输出)The explosion used in the view, or NULL_TAG if
the view is showing the real assembly positions (has
no explosion associated with it).

 


 
UF_ASSEM_ask_work_occurrence (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the work occurrence of the work part.

返回
Returns the tag of the work occurrence. Returns a
NULL_TAG if there is no current work part, or if
the work part occurrence is the displayed part.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_ask_work_occurrence
(
void
)

 


 
UF_ASSEM_ask_work_part (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the part tag of the current work part.

返回
Returns the tag of the current work part, else
returns a NULL_TAG if there is no current work
part.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_ask_work_part
(
void
)

 


 
UF_ASSEM_capture_arrangement_from_current_sequence (查看源代码)
 
定义在: uf_assem.h
 
概述
Captures an arrangement of the current sequence playback positions
and assemble/disassemble states. The disassemble states will be represented
as part occurrence specific suppressions.

Any positioning or suppression will be done as assembly level overrides (where
the assembly is the part owning the sequence).

There are situation where an arrangement can be captured, but with some
warnings. The warnings will be returned in the list of warnings. The warnings
are standard NX error codes. Their description can be obtained with UF_get_fail_message.
The nature of the warning may indicate that not all positions could be represented
in the arrangement (usually a consequence of mating constraints that are active
in the assembly while mating constraints had been disabled in the sequence).
Similarly, it may not always be possible to suppress the required components on the
assembly level since in sequencing you can "disassemble" a subassemlby's geometry
without "disassembling" all its child components.

Sequencing must have initialized before this function can be called.

环境
Internal and External

参见
UF_ASSEM_initialize_sequencing

历史
Initially released in NX5.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_capture_arrangement_from_current_sequence
(
const char * arrangement_name,
tag_t* arrangement,
int* warnings_count,
int* * warnings
)
const char *arrangement_nameInput(输入)The name of the arrangement
tag_t*arrangementOutput(输出)The created arrangement
int*warnings_countOutput(输出)The number of warnings
int* *warningsOutput to be freed
输出并释放
List of warning codes. Must
be freed with UF_free

 


 
UF_ASSEM_check_array_status (查看源代码)
 
定义在: uf_assem.h
 
概述
Performs an update validity check on a component array. If the array
can be updated, then this function returns 0. If the array check fails,
then this function returns an error code. Use UF_get_fail_message to
capture the error string. Some possible errors that can occur are as
follows:
"Array is suppressed."
"Array template is unloaded."
"Array master is unloaded."
"Array template is not mated to a valid feature instance."
"Array size expression is invalid."

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_check_array_status
(
tag_t array
)
tag_t (tag_t类型)arrayInput(输入)Tag of array to check.

 


 
UF_ASSEM_convert_prev16_aligns (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_convert_prev16_aligns

Converts the specified PreV16 Align constraints to Distance constraints.
This function will attempt to adjust the offset distance of the constraint
to maintain the existing behaviour of the constraint - in some cases it
might negate the offset expression. A list of messages is returned which
describes any reasons why constraints could not be converted or could not
update afterwards.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

参见
UF_ASSEM_find_prev16_aligns_to_check
UF_ASSEM_free_prev16_aligns

历史
Initially released in NX3.0.4 MP1.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_convert_prev16_aligns
(
int n_aligns_to_convert,
const UF_ASSEM_prev16_align_t * aligns_to_convert,
int * n_messages,
UF_ASSEM_prev16_align_t * * messages
)
int (整数型)n_aligns_to_convertInput(输入)The number of constraints to convert
const UF_ASSEM_prev16_align_t *aligns_to_convertInput(输入)The constraints to convert (array of length n_aligns_to_convert)
int * (整数型指针)n_messagesOutput(输出)The number of messages returned.
UF_ASSEM_prev16_align_t * *messagesOutput to be freed
输出并释放
The returned messages (of length n_messages)
Freed by UF_ASSEM_free_prev16_aligns

 


 
UF_ASSEM_copy_explosion (查看源代码)
 
定义在: uf_assem.h
 
概述
Copies the explosion transforms from one (sub)assembly to an
equivalent (sub)assembly. The destination may be in the same
explosion as the source, or it may be another explosion in the same
part, or it may be an explosion in a different part altogether.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_copy_explosion
(
tag_t source_explosion,
tag_t source_component,
tag_t destination_explosion,
tag_t destination_component
)
tag_t (tag_t类型)source_explosionInput(输入)The tag of the explosion from which to copy
transforms.
tag_t (tag_t类型)source_componentInput(输入)Either NULL_TAG, in which case the whole
explosion is copied, or a component (part
occurrence) tag indicating the portion of the
explosion to be copied.
tag_t (tag_t类型)destination_explosionInput(输入)The tag of the explosion which the source explosion
should be copied into.
tag_t (tag_t类型)destination_componentInput(输入)Either NULL_TAG, in which case the whole
explosion is over-written, or a component (part
occurrence) tag indicating a portion of the
explosion to be over-written (in either case, the
tag must represent the same componenrt part as the
source_component argument).

 


 
UF_ASSEM_count_ents_in_part_occ (查看源代码)
 
定义在: uf_assem.h
 
概述
Count the number of entity occurrences associated with a part occurrence.

返回
Number of object occurrences

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_count_ents_in_part_occ
(
tag_t part_occur
)
tag_t (tag_t类型)part_occurInput(输入)Tag of part occurrence

 


 
UF_ASSEM_count_objs_in_comp (查看源代码)
 
定义在: uf_assem.h
 
概述
Given a part occurrence tag or v9 component type as input argument
this routine gets the count of members for a given component.

环境
内部和外部

参见
example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_count_objs_in_comp
(
tag_t comp_tag,
int * returned_count
)
tag_t (tag_t类型)comp_tagInput(输入)Source component
int * (整数型指针)returned_countOutput(输出)Count of members in source component

 


 
UF_ASSEM_count_ref_sets_in (查看源代码)
 
定义在: uf_assem.h
 
概述
Counts the number of links from an object to the reference sets that
contain it.

返回
The number of links from the object to the
reference sets that contain it. This value is >= 0.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_count_ref_sets_in
(
tag_t object
)
tag_t (tag_t类型)objectInput(输入)Object Identifier (can be an occurrence)

 


 
UF_ASSEM_create_assembly_cut (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_create_assembly_cut

Create an assembly cut feature in a part.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

历史
Initially released in NX3.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_create_assembly_cut
(
tag_t part,
logical blank_tool_bodies,
int n_target_body_occs,
tag_t * target_body_occs,
int n_tool_bodies,
tag_t * tool_bodies,
tag_t * acut_tag
)
tag_t (tag_t类型)partInput(输入)The part in which the assembly cut is created
logicalblank_tool_bodiesInput(输入)To keep tool bodies displayed after the cut
int (整数型)n_target_body_occsInput(输入)The number of body occurrences
tag_t * (tag_t型的指针)target_body_occsInput(输入)The target body occurrences
int (整数型)n_tool_bodiesInput(输入)The number of tools
tag_t * (tag_t型的指针)tool_bodiesInput(输入)The tool bodies or body occurrences
tag_t * (tag_t型的指针)acut_tagOutput(输出)The assembly cut feature tag

 


 
UF_ASSEM_create_component_part (查看源代码)
 
定义在: uf_assem.h
 
概述
Create a new part, moves selected objects to it, then adds an instance
of it to the parent part. Any other transferrable objects upon which
the given objects depend are also moved into the component.

The instance will be added to the parts-list according to the setting of
the global switch, see UF_ASSEM_ask_assem_options.

CAUTION: Object occurrences and part occurrences cannot be moved into a
component.

If an object depends upon another object which is not transferable,
then that object is not moved into the component and a return value
of UF_PART_warn_objects_not_copied is returned. The operation
continues though, and any other requested transferable objects are
still moved into the component. This situation can arise because a
drafting object is not transferred if its associated geometry is not
transferred.

If any other error occurs, the operation does not succeed and the
appropriate error code is returned.

环境
内部和外部

参见
UF_ASSEM_ask_assem_options
Refer to example

历史
V11.0 modified to retain feature parameters in the transferred objects.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_create_component_part
(
tag_t parent_part,
const char * new_part_name,
const char * refset_name,
const char * instance_name,
int units,
int layer,
double origin [ 3 ] ,
double csys_matrix [ 6 ] ,
int n_objects,
tag_t * objects,
tag_t * instance
)
tag_t (tag_t类型)parent_partInput(输入)Tag of parent part
const char *new_part_nameInput(输入)Name of new component part
const char *refset_nameInput(输入)Name of reference set
const char *instance_nameInput(输入)Name of instance to add to parent part
int (整数型)unitsInput(输入)1 = MM
2 = Inches
int (整数型)layerInput(输入)-1 = original
0 = use work layer
1-255 = use specified layer
double (实数型)origin [ 3 ] Input(输入)Position in parent part where the instance is to be created.
double (实数型)csys_matrix [ 6 ] Input(输入)Orientation of the instance
int (整数型)n_objectsInput(输入)Number of objects in the "objects" array.
tag_t * (tag_t型的指针)objectsInput(输入)Pointer to an array of tags of objects that should be
moved to the new component part.
tag_t * (tag_t型的指针)instanceOutput(输出)Tag of instance

 


 
UF_ASSEM_create_cset (查看源代码)
 
定义在: uf_assem.h
 
概述
Creates a component set in the given part with the given name which
can not be NULL. The output of this routine is the tag of the newly
created, empty component set.

环境
内部和外部

参见
See UF_ASSEM_add_to_cset
to populate a component set.
Refer to example
 
需要许可证(S)
assemblies

 
int UF_ASSEM_create_cset
(
tag_t part,
const char * name,
tag_t * object
)
tag_t (tag_t类型)partInput(输入)Part where component set is created
const char *nameInput(输入)Name to be given to component set
tag_t * (tag_t型的指针)objectOutput(输出)Object identifier of created component set

 


 
UF_ASSEM_create_deformable_part (查看源代码)
 
定义在: uf_assem.h
 
概述
Creates a deformable definition for the part occurrence given in the current work part.

环境
Internal and External

历史
Initially released in NX2
 
需要许可证(S)
assemblies

 
int UF_ASSEM_create_deformable_part
(
UF_ASSEM_deform_data_p_t data,
tag_t * deformable_feature
)
UF_ASSEM_deform_data_p_tdataInput(输入)
tag_t * (tag_t型的指针)deformable_featureOutput(输出)

 


 
UF_ASSEM_create_explosion (查看源代码)
 
定义在: uf_assem.h
 
概述
Creates an explosion in the specified display part; the components in
the assembly are initially at their real assembly positions, and the
explosion is initially not used in any views.

环境
内部和外部

参见
Refer to example
 
需要许可证(S)
assemblies

 
int UF_ASSEM_create_explosion
(
tag_t display_part_tag,
const char* explosion_name,
tag_p_t explosion_tag
)
tag_t (tag_t类型)display_part_tagInput(输入)The tag of the display part in which to create the
explosion
const char*explosion_nameInput(输入)A name for the explosion; this must be a valid NX
name value, as well as not being used by any
existing explosion in the display part.
tag_p_texplosion_tagOutput(输出)The tag of the created explosion (or NULL_TAG
on error)

 


 
UF_ASSEM_create_iset_array (查看源代码)
 
定义在: uf_assem.h
 
概述
Creates an ISET array, based on the parameters in the "array_data"
structure. The template component must already be mated to one
element of the ISET.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_create_iset_array
(
UF_ASSEM_iset_array_data_p_t array_data,
tag_t * array
)
UF_ASSEM_iset_array_data_p_tarray_dataInput(输入)Data structure containing array
parameters.
tag_t * (tag_t型的指针)arrayOutput(输出)Tag of newly created array.

 


 
UF_ASSEM_create_mc_array (查看源代码)
 
定义在: uf_assem.h
 
概述
Creates a Master Component array in the work part, based on the
parameters in the "array_data" structure.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_create_mc_array
(
UF_ASSEM_mc_array_data_p_t array_data,
tag_t * array
)
UF_ASSEM_mc_array_data_p_tarray_dataInput(输入)Data structure containing array
parameters.
tag_t * (tag_t型的指针)arrayOutput(输出)Tag of newly created array.

 


 
UF_ASSEM_create_ref_set (查看源代码)
 
定义在: uf_assem.h
 
概述
Creates a reference set at the coordinates specified, with the given
name, orientation, and members.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_create_ref_set
(
const char * ref_set_name,
double origin [ 3 ] ,
double matrix [ 9 ] ,
tag_t * ref_set_members,
int num_members,
tag_t * ref_set_tag
)
const char *ref_set_nameInput(输入)Name of the new reference set.
double (实数型)origin [ 3 ] Input(输入)The origin coordinates of the reference set.
double (实数型)matrix [ 9 ] Input(输入)The orientation matrix of the reference set.
tag_t * (tag_t型的指针)ref_set_membersInput(输入)num_members
Array of members of the new reference set.
int (整数型)num_membersInput(输入)The number of members in the members array.
tag_t * (tag_t型的指针)ref_set_tagOutput(输出)The tag of the newly created reference set.

 


 
UF_ASSEM_create_sequence (查看源代码)
 
定义在: uf_assem.h
 
概述
Creates an empty assembly sequence.
UF_ASSEM_initialize_sequencing must be called before calling this function.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_create_sequence
(
char * name,
tag_t part,
tag_t * sequence
)
char * (字符型指针)nameInput(输入)The name of the sequence
tag_t (tag_t类型)partInput(输入)The part to create the sequence in
tag_t * (tag_t型的指针)sequenceOutput(输出)The tag of the newly created sequence

 


 
UF_ASSEM_create_step (查看源代码)
 
定义在: uf_assem.h
 
概述
Creates a step in the given sequence.

A part occurrence may have more than one step in the sequence, if it is
to be assembled or disassembled more than once.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_create_step
(
tag_t sequence,
tag_t part_occurrence,
int step_type,
double time,
double cost,
char * description,
tag_t insert_at_step,
tag_t * step
)
tag_t (tag_t类型)sequenceInput(输入)The sequence in which the step
needs to be created
tag_t (tag_t类型)part_occurrenceInput(输入)The part occurrence being sequenced
int (整数型)step_typeInput(输入)The type of the step. One of the
constants UF_ASSEM_ASSEMBLE_STEP or
UF_ASSEM_DISASSEMBLE_STEP only
double (实数型)timeInput(输入)The time of the step. The time is
a user defined number.
double (实数型)costInput(输入)The cost of the step. The time is
a user defined number.
char * (字符型指针)descriptionInput(输入)The description of the step. May be
NULL, if the user does not want to assign
a description at this point.
tag_t (tag_t类型)insert_at_stepInput(输入)The step that this step is to be inserted after.
May be NULL_TAG, in which case the new step is added
at the beginning of the sequence
tag_t * (tag_t型的指针)stepOutput(输出)The tag of the newly created step. May
be NULL_TAG if no step was created - an
error code describing the reason is returned.

 


 
UF_ASSEM_create_typed_sequence (查看源代码)
 
定义在: uf_assem.h
 
概述
Creates a typed sequence.

UF_ASSEM_initialize_sequencing must be called before calling this function.

环境
Internal and External

历史
Initially released in NX 3.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_create_typed_sequence
(
const char * name,
int sequence_type,
tag_t part,
tag_t * sequence
)
const char *nameInput(输入)The name of the sequence
int (整数型)sequence_typeInput(输入)The type of sequence to be created. One of the constants
UF_ASSEM_ASSEMBLE_SEQUENCE
UF_ASSEM_DISASSEMBLE_SEQUENCE
UF_ASSEM_OPERATIONAL_SEQUENCE
tag_t (tag_t类型)partInput(输入)The part to create the sequence in
tag_t * (tag_t型的指针)sequenceOutput(输出)The tag of the newly created sequence

 


 
UF_ASSEM_cycle_ents_in_part_occ (查看源代码)
 
定义在: uf_assem.h
 
概述
Cycles the object occurrences in a part occurrence.

返回
Returns object occurrence tag. Returns NULL_TAG after last
object cycles.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_cycle_ents_in_part_occ
(
tag_t part_occur,
tag_t object_occur
)
tag_t (tag_t类型)part_occurInput(输入)Tag of part occurrence
tag_t (tag_t类型)object_occurInput(输入)Tag of object occurrence. Pass the previous object
tag in to the routine (starting with NULL_TAG to
initialize), and the routine cycles the next object
tag.

 


 
UF_ASSEM_cycle_inst_of_part (查看源代码)
 
定义在: uf_assem.h
 
概述
Cycles the instances in a part which is the parent of the instances.

返回
Returns the next instance tag. Returns a NULL_TAG after the
last object cycles through.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_cycle_inst_of_part
(
tag_t part,
tag_t instance
)
tag_t (tag_t类型)partInput(输入)Tag of parent part to instances
tag_t (tag_t类型)instanceInput(输入)Pass the previous instance tag into the routine
(starting with NULL_TAG to initialize), and the
routine cycles to the next instance tag.

 


 
UF_ASSEM_cycle_objs_in_comp (查看源代码)
 
定义在: uf_assem.h
 
概述
Cycles the occurrenced members in the source component. Start cycle
with a NULL_TAG in member and cycle ends when NULL_TAG is
returned in member.

环境
内部和外部

参见
Please see example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_cycle_objs_in_comp
(
tag_t component,
tag_t * member
)
tag_t (tag_t类型)componentInput(输入)Source component
tag_t * (tag_t型的指针)memberOutput(输出)Current member from source component

 


 
UF_ASSEM_deform_part (查看源代码)
 
定义在: uf_assem.h
 
概述
Creates a deformed part occurrence in the current work part.

环境
Internal and External

历史
Initially released in NX2
 
需要许可证(S)
assemblies

 
int UF_ASSEM_deform_part
(
UF_ASSEM_deform_part_data_p_t deform_data,
UF_ASSEM_deform_part_warnings_p_t deform_warnings
)
UF_ASSEM_deform_part_data_p_tdeform_dataInput / Output
UF_ASSEM_deform_part_warnings_p_tdeform_warningsOutput(输出)

 


 
UF_ASSEM_delete_array (查看源代码)
 
定义在: uf_assem.h
 
概述
Deletes an array. Either removes all of the components except the
array template or only removes the array and leaves all of the
components. Components which are master components of other
arrays cannot be deleted.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_delete_array
(
tag_t array,
logical delete_all
)
tag_t (tag_t类型)arrayInput(输入)Tag of array being deleted.
logicaldelete_allInput(输入)Delete all flag:
TRUE = Deletes all components in the array
except the array template.
FALSE = Deletes the array but not the components
in the array.

 


 
UF_ASSEM_delete_explosion (查看源代码)
 
定义在: uf_assem.h
 
概述
Deletes the specified explosion; the explosion may not be used in any
views when this is done. All data concerning the explosion of
individual components is lost.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_delete_explosion
(
tag_t explosion
)
tag_t (tag_t类型)explosionInput(输入)The tag of the explosion to delete.

 


 
UF_ASSEM_delete_sequence (查看源代码)
 
定义在: uf_assem.h
 
概述
Deletes an assembly sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_delete_sequence
(
tag_t sequence
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence

 


 
UF_ASSEM_delete_step (查看源代码)
 
定义在: uf_assem.h
 
概述
Deletes a step from its assembly sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_delete_step
(
tag_t step
)
tag_t (tag_t类型)stepInput(输入)The tag of the given step

 


 
UF_ASSEM_edit_assembly_cut (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_edit_assembly_cut

Edit an assembly cut feature in a part.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

历史
Initially released in NX3.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_edit_assembly_cut
(
tag_t frec_tag,
int n_target_bodies,
tag_t * target_body_tags,
int n_tool_bodies,
tag_t * tool_body_tags,
logical blank_tool_bodies
)
tag_t (tag_t类型)frec_tagInput(输入)The assembly cut tag
int (整数型)n_target_bodiesInput(输入)Number of target bodies
tag_t * (tag_t型的指针)target_body_tagsInput(输入)Target body occurrences
int (整数型)n_tool_bodiesInput(输入)Number of tool bodies
tag_t * (tag_t型的指针)tool_body_tagsInput(输入)Tool body occurrences
logicalblank_tool_bodiesInput(输入)Blank the display of the tool bodies

 


 
UF_ASSEM_edit_iset_array (查看源代码)
 
定义在: uf_assem.h
 
概述
Edits a ISET Component array, by applying the parameters in the
"array_data" structure.

CAUTION: Neither the dimensions nor the feature_iset tag can be
edited. To change the size of the array, you should edit the feature
ISET that the array is based on, by using UF_MODL_ask_circular_iset_parms or
UF_MODL_ask_linear_iset_parms to find the expressions that control
the ISET, and then edit these expressions.

环境
内部和外部

参见
UF_MODL_ask_circular_iset_parms
UF_MODL_ask_linear_iset_parms
 
需要许可证(S)
assemblies

 
int UF_ASSEM_edit_iset_array
(
tag_t array,
UF_ASSEM_iset_array_data_p_t array_data
)
tag_t (tag_t类型)arrayInput(输入)Tag of array to be edited.
UF_ASSEM_iset_array_data_p_tarray_dataInput(输入)Data structure containing new array
parameters.

 


 
UF_ASSEM_edit_mc_array (查看源代码)
 
定义在: uf_assem.h
 
概述
Edits a Master Component array, by applying the parameters in the
"array_data" structure.

CAUTION: to edit the size and offset of the array, it is only necessary
to edit the relevant expressions.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_edit_mc_array
(
tag_t array,
UF_ASSEM_mc_array_data_p_t array_data
)
tag_t (tag_t类型)arrayInput(输入)Tag of array to be edited.
UF_ASSEM_mc_array_data_p_tarray_dataInput(输入)Data structure containing new array
parameters.

 


 
UF_ASSEM_edit_ref_set_data (查看源代码)
 
定义在: uf_assem.h
 
概述
Modifies the specified reference set with a new origin and/or
orientation. To change the name of the reference set, use the
UF_OBJ_set_name routine.

环境
内部和外部

参见
UF_OBJ_set_name

历史
Original release was in V14.0.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_edit_ref_set_data
(
tag_t ref_set_tag,
double origin [ 3 ] ,
double matrix [ 9 ]
)
tag_t (tag_t类型)ref_set_tagInput(输入)Reference set tag whose orientation and origin are
to be changed.
double (实数型)origin [ 3 ] Input(输入)Array of coordinates for the reference set's new
origin.
double (实数型)matrix [ 9 ] Input(输入)Matrix Array for the reference set's new orientation.

 


 
UF_ASSEM_ensure_child_loaded (查看源代码)
 
定义在: uf_assem.h
 
概述
Ensures that the child part of an instance is loaded. If the load of a
child fails, then the load_status is filled out as it is for other load
functions.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_ensure_child_loaded
(
tag_t instance,
UF_PART_load_status_t * load_status
)
tag_t (tag_t类型)instanceInput(输入)Tag of parent part to instances
UF_PART_load_status_t *load_statusOutput to be freed
输出并释放
See the UF_PART_load_status_t structure
definition. The allocated structure is
filled with the names and associated error
codes of any parts that did not load
correctly. The allocated arrays must be
freed with UF_free_string_array and
UF_free.

 


 
UF_ASSEM_eval_instance_intent (查看源代码)
 
定义在: uf_assem.h
 
概述
Evaluates intent data of an instance and optionally applies the result.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_eval_instance_intent
(
tag_t * instance,
logical apply_result,
UF_ASSEM_instance_status_p_t instance_status
)
tag_t * (tag_t型的指针)instanceInput / OutputObject identifier of the instance. Note
that the instance tag is not currently modified;
but it may be modified in the future (hence,
its designation as an I/O parameter).
logicalapply_resultInput(输入)Apply result flag.
UF_ASSEM_instance_status_p_tinstance_statusOutput(输出)Status of the instance.

 


 
UF_ASSEM_explode_component (查看源代码)
 
定义在: uf_assem.h
 
概述
Explode a component by a given transform. This is combined with
exploded position of the component's parent and the component's
normal transform to give the resultant exploded position.

环境
内部和外部

参见
See UF_ASSEM_create_explosion.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_explode_component
(
tag_t explosion,
tag_t part_occurrence,
double transform [ 4 ] [ 4 ]
)
tag_t (tag_t类型)explosionInput(输入)The explosion in which to modify the component
tag_t (tag_t类型)part_occurrenceInput(输入)the tag of a part occurrence not instance
double (实数型)transform [ 4 ] [ 4 ] Input(输入)a 4x4 non-distorting transform (see
UF_ASSEM_ask_component_data for more
information).

 


 
UF_ASSEM_find_immed_old_comps (查看源代码)
 
定义在: uf_assem.h
 
概述
Ask for a list of immediate old style components. Only components of
the given part are returned. This routine may be used to determine if
the given part contains pre-V10 assemblies that may be upgraded
(i.e., if n_immediate_components > 0 then the part contains
pre-V10 components).

CAUTION: "Immediate" components are those direct components in
the work part and does not include components of a subassembly of
the work part. "Old" signifies that the components are pre-V10 style
components.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_find_immed_old_comps
(
tag_t part,
tag_t * * immediate_components,
int * n_immediate_components
)
tag_t (tag_t类型)partInput(输入)Tag of part to query for old components.
tag_t * *immediate_componentsOutput to be freed
输出并释放
Allocated array of tags of immediate old style
components. This array must be freed by calling
UF_free.
int * (整数型指针)n_immediate_componentsOutput(输出)number of pre-v10 components

 


 
UF_ASSEM_find_occurrence (查看源代码)
 
定义在: uf_assem.h
 
概述
Return the tag of the object occurrence in the given part,
corresponding to the object_prototype.

返回
Returns tag of object occurrence or NULL_TAG if object is not found.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_find_occurrence
(
tag_t part_occur,
tag_t object_prototype
)
tag_t (tag_t类型)part_occurInput(输入)Tag of part occurrence
tag_t (tag_t类型)object_prototypeInput(输入)Tag of object prototype

 


 
UF_ASSEM_find_prev16_aligns_to_check (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_find_prev16_aligns_to_check

Finds PreV16 Align constraints which need converting to Distance constraints
so their behaviour will remain stable.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

参见
UF_ASSEM_convert_prev16_aligns
UF_ASSEM_free_prev16_aligns

历史
Initially released in NX3.0.4 MP1.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_find_prev16_aligns_to_check
(
tag_t part_tag,
logical recurse,
int * n_aligns_to_check,
UF_ASSEM_prev16_align_t * * aligns_to_check
)
tag_t (tag_t类型)part_tagInput(输入)The part in which to search
logicalrecurseInput(输入)Whether to search in all components (true) or just in this part (false)
int * (整数型指针)n_aligns_to_checkOutput(输出)The number of found constraints
UF_ASSEM_prev16_align_t * *aligns_to_checkOutput to be freed
输出并释放
The found constraints (array of length n_aligns_to_check)
Freed by UF_ASSEM_free_prev16_aligns

 


 
UF_ASSEM_free_deform_warnings_data (查看源代码)
 
定义在: uf_assem.h
 
概述
Free the deform part warnings structure

环境
Internal and External

历史
Initially released in NX2
 
需要许可证(S)
assemblies

 
int UF_ASSEM_free_deform_warnings_data
(
UF_ASSEM_deform_part_warnings_p_t warnings
)
UF_ASSEM_deform_part_warnings_p_twarningsInput(输入)

 


 
UF_ASSEM_free_instance_intent (查看源代码)
 
定义在: uf_assem.h
 
概述
Frees intent data returned from UF_ASSEM_ask_instance_intent.

环境
内部和外部

参见
UF_ASSEM_ask_instance_intent
 
需要许可证(S)
assemblies

 
int UF_ASSEM_free_instance_intent
(
UF_ASSEM_instance_intent_p_t instance_intent
)
UF_ASSEM_instance_intent_p_tinstance_intentInput(输入)Data of the intent.

 


 
UF_ASSEM_free_prev16_aligns (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_free_prev16_aligns

Frees the memory consumed by the array of UF_ASSEM_prev16_align_t objects
returned by UF_ASSEM_find_prev16_aligns_to_check and UF_ASSEM_convert_prev16_aligns.
The memory for the array will be freed along with all data referenced by all
members of the array.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

参见
UF_ASSEM_find_prev16_aligns_to_check
UF_ASSEM_convert_prev16_aligns

历史
Initially released in NX3.0.4 MP1.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_free_prev16_aligns
(
int n_aligns,
UF_ASSEM_prev16_align_t * aligns
)
int (整数型)n_alignsInput(输入)The number of entries in the aligns array
UF_ASSEM_prev16_align_t *alignsInput(输入)The array to be freed

 


 
UF_ASSEM_get_occ_in_work_occ (查看源代码)
 
定义在: uf_assem.h
 
概述
Return the part occurrence tag in the context of the work occurrence

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_get_occ_in_work_occ
(
tag_t part_occ,
tag_t * occ_in_work
)
tag_t (tag_t类型)part_occInput(输入)
tag_t * (tag_t型的指针)occ_in_workOutput(输出)

 


 
UF_ASSEM_get_ref_set_inst (查看源代码)
 
定义在: uf_assem.h
 
概述
Returns the object identifier of the reference set (specified by
reference set "number") that contains the object. The object can be
an occurrence.

返回
Object Identifier of the numbered reference set
that contains the object. NULL_TAG is returned when the
object does not belong to any reference sets or if it
has less than number links.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
tag_t UF_ASSEM_get_ref_set_inst
(
tag_t object,
int number
)
tag_t (tag_t类型)objectInput(输入)Object Identifier (object can be an occurrence)
int (整数型)numberInput(输入)The number of the reference set to which the object
belongs (e.g. 1 is the first reference set it belongs to,
2 is the second reference set, etc.).

 


 
UF_ASSEM_hide_component (查看源代码)
 
定义在: uf_assem.h
 
概述
Hide the given component in the given view. The effect is analagous
to moving the component to a layer which is invisible in the view.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_hide_component
(
tag_t component,
tag_t view
)
tag_t (tag_t类型)componentInput(输入)the tag of a part occurrence not instance
tag_t (tag_t类型)viewInput(输入)The view from which to hide the component

 


 
UF_ASSEM_ignore_part_occ (查看源代码)
 
定义在: uf_assem.h
 
概述
Ignores the given part occurrence in the sequence.

Ignored part occurrences are not marked processed, and are no longer considered valid
candidates for assembly or disassembly.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_ignore_part_occ
(
tag_t sequence,
tag_t part_occ
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
tag_t (tag_t类型)part_occInput(输入)The part occurrence to be ignored

 


 
UF_ASSEM_init_deform_part_data (查看源代码)
 
定义在: uf_assem.h
 
概述
Initializes a deformed part data structure.

环境
Internal and External

历史
Initially released in NX2
 
需要许可证(S)
assemblies

 
int UF_ASSEM_init_deform_part_data
(
UF_ASSEM_deform_part_data_p_t deform_part
)
UF_ASSEM_deform_part_data_p_tdeform_partInput(输入)

 


 
UF_ASSEM_initialize_sequencing (查看源代码)
 
定义在: uf_assem.h
 
概述
Initializes the sequencing environment.
Must be called before any sequencing playback type Open API function can be called.

环境
Internal and External

历史
Initially released in NX 3.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_initialize_sequencing
(
void
)

 


 
UF_ASSEM_is_component_ngc (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_is_component_ngc

Queries whether the input component is a non-geometric component (NGC)
or not.

返回
Returns TRUE if component_tag is a NGC, FALSE otherwise.

环境
This function is supported for both Internal and
External execution.

历史
Initially released in NX6.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
logical UF_ASSEM_is_component_ngc
(
tag_t component_tag
)
tag_t (tag_t类型)component_tagInput(输入)the occurence or instance tag

 


 
UF_ASSEM_is_ignored (查看源代码)
 
定义在: uf_assem.h
 
概述
Determines if the given part occurrence is marked to be ignored in the
given sequence

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_is_ignored
(
tag_t sequence,
tag_t part_occ,
logical * ignored
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
tag_t (tag_t类型)part_occInput(输入)Tag of the part occurrence
logical *ignoredOutput(输出)True if the part occurrence is
ignored in the sequence, false
otherwise.

 


 
UF_ASSEM_is_member_of_cset (查看源代码)
 
定义在: uf_assem.h
 
概述
Allows you to lookup the given component in the given component
set.

环境
内部和外部

参见
UF_ASSEM_ask_all_comp_cset
UF_ASSEM_apply_to_cset
Refer to example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_is_member_of_cset
(
tag_t cset,
tag_t component,
logical * result
)
tag_t (tag_t类型)csetInput(输入)Object identifier of a component set
tag_t (tag_t类型)componentInput(输入)Object identifier of component to be looked up
logical *resultOutput(输出)TRUE if component found, otherwise FALSE

 


 
UF_ASSEM_is_occurrence (查看源代码)
 
定义在: uf_assem.h
 
概述
Determines whether an object is an object/part occurrence or a
prototype object.

返回
TRUE = if object occurrence or a part occurrence.
FALSE = if object is a prototype object.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
logical UF_ASSEM_is_occurrence
(
tag_t entity
)
tag_t (tag_t类型)entityInput(输入)Tag of object

 


 
UF_ASSEM_is_part_deformable (查看源代码)
 
定义在: uf_assem.h
 
环境
Internal and External

历史
Initially released in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
logical UF_ASSEM_is_part_deformable
(
tag_t part
)
tag_t (tag_t类型)partInput(输入)

 


 
UF_ASSEM_is_part_occurrence (查看源代码)
 
定义在: uf_assem.h
 
概述
Determines whether a given tag is a part occurrence.

返回
TRUE = if tag is a part occurrence.
FALSE = if tag is not a part occurrence.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
logical UF_ASSEM_is_part_occurrence
(
tag_t occurrence
)
tag_t (tag_t类型)occurrenceInput(输入)Tag of occurrence

 


 
UF_ASSEM_is_preassembled (查看源代码)
 
定义在: uf_assem.h
 
概述
Determines if the given part occurrence is preassembled in the
given sequence

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_is_preassembled
(
tag_t sequence,
tag_t part_occ,
logical * preassembled
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
tag_t (tag_t类型)part_occInput(输入)Tag of the part occurrence
logical *preassembledOutput(输出)True if the part occurrence is
preassembled in the sequence, false
otherwise.

 


 
UF_ASSEM_is_ref_set_member (查看源代码)
 
定义在: uf_assem.h
 
概述
Queries whether the specified tag is a member of any reference sets.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_is_ref_set_member
(
tag_t potential_member,
logical * member_flag
)
tag_t (tag_t类型)potential_memberInput(输入)Tag to test for reference set membership.
logical *member_flagOutput(输出)TRUE if object is in a reference set.

 


 
UF_ASSEM_make_current_step (查看源代码)
 
定义在: uf_assem.h
 
概述
Plays back the sequence up to the given step. The given step is not itself played
back - it becomes the step that will be played back next.

UF_ASSEM_initialize_sequencing must be called before calling this function.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_make_current_step
(
tag_t step
)
tag_t (tag_t类型)stepInput(输入)Tag of the step that will be made current

 


 
UF_ASSEM_move_step (查看源代码)
 
定义在: uf_assem.h
 
概述
Moves a step to a different location in it's sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_move_step
(
tag_t step_to_be_moved,
tag_t insert_at_step
)
tag_t (tag_t类型)step_to_be_movedInput(输入)The tag of the step being moved
tag_t (tag_t类型)insert_at_stepInput(输入)The step to be inserted before. May
be null in which case the step is moved to
the end of the sequence

 


 
UF_ASSEM_occ_is_in_work_part (查看源代码)
 
定义在: uf_assem.h
 
概述
Checks if the part occurrence is in the current work part.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_occ_is_in_work_part
(
tag_t part_occ,
logical * is_in_work
)
tag_t (tag_t类型)part_occInput(输入)The tag of the part occurrence to check.
logical *is_in_workOutput(输出)TRUE if the part occurrence is in the current work
part, FALSE if it is not.

 


 
UF_ASSEM_part_is_descendant (查看源代码)
 
定义在: uf_assem.h
 
概述
Queries whether a descendent part is a descendent of a parent part.
The descendent does not have to be a direct child of the parent. This
routine returns a value of TRUE if the same part is given to both
arguments.

返回
Returns TRUE if descendent_part is a descendent
of parent_part, FALSE otherwise.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example .
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
logical UF_ASSEM_part_is_descendant
(
tag_t parent_part,
tag_t descendent_part
)
tag_t (tag_t类型)parent_partInput(输入)Tag of parent part
tag_t (tag_t类型)descendent_partInput(输入)Tag of descendent part

 


 
UF_ASSEM_playback_sequence (查看源代码)
 
定义在: uf_assem.h
 
概述
Playback the given assembly sequence, using the playback_command.
The playback command is one of the enumerated constants

UF_ASSEM_seq_step_forward: single step forward
UF_ASSEM_seq_step_backward: single step backward
UF_ASSEM_seq_play_forward: continuous play forward
UF_ASSEM_seq_play_backward: continuous play backward

环境
Internal and External. Please note that in v18, playback
is only implemented as a change of display state. The playback functions
are probably meaningful only in the internal user function environment.

UF_ASSEM_initialize_sequencing must be called before calling this function.

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_playback_sequence
(
tag_t sequence,
int playback_command
)
tag_t (tag_t类型)sequenceInput(输入)The sequence to be played back
int (整数型)playback_commandInput(输入)One of the enumerated constants
UF_ASSEM_seq_step_forward

 


 
UF_ASSEM_preassemble_partocc (查看源代码)
 
定义在: uf_assem.h
 
概述
Preassembles the given part occurrence in the sequence. Part occurrences must be
preassembled (or assembled in the sequence) before they can be considered
for disassembly.

The preassembled set can be used to define the initial state of the
assembly sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_preassemble_partocc
(
tag_t sequence,
tag_t part_occ
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
tag_t (tag_t类型)part_occInput(输入)The part occurrence to be
preassembled

 


 
UF_ASSEM_remove_from_cset (查看源代码)
 
定义在: uf_assem.h
 
概述
Allows you to remove a component from an existing component set.
It is not an error to attempt to remove a component from a set that is
not a member of that set.

环境
内部和外部

参见
See UF_ASSEM_add_to_cset
to add a component to an existing component set.
Refer to example
 
需要许可证(S)
assemblies

 
int UF_ASSEM_remove_from_cset
(
tag_t cset,
tag_t component
)
tag_t (tag_t类型)csetInput(输入)Object identifier of component set
tag_t (tag_t类型)componentInput(输入)Object identifier of component to be removed

 


 
UF_ASSEM_remove_ignored (查看源代码)
 
定义在: uf_assem.h
 
概述
Removes the given part occurrence from the ignored set of the given
sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_remove_ignored
(
tag_t sequence,
tag_t part_occ
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
tag_t (tag_t类型)part_occInput(输入)The part occurrence to be removed from
the ignored set

 


 
UF_ASSEM_remove_instance (查看源代码)
 
定义在: uf_assem.h
 
概述
Removes an instance from an assembly part.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_remove_instance
(
tag_t instance
)
tag_t (tag_t类型)instanceInput(输入)Tag of instance to remove.

 


 
UF_ASSEM_remove_preassembled (查看源代码)
 
定义在: uf_assem.h
 
概述
Removes the given part occurrence from the preassembled set of the given
sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_remove_preassembled
(
tag_t sequence,
tag_t part_occ
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
tag_t (tag_t类型)part_occInput(输入)The part occurrence to be removed
from the preassembled set

 


 
UF_ASSEM_remove_ref_set_members (查看源代码)
 
定义在: uf_assem.h
 
概述
Removes an array of members from the specified reference set.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_remove_ref_set_members
(
tag_t ref_set,
int member_count,
tag_t * ref_set_members
)
tag_t (tag_t类型)ref_setInput(输入)Tag of the reference set to remove members from.
int (整数型)member_countInput(输入)The number of members to remove
tag_t * (tag_t型的指针)ref_set_membersInput(输入)Array of the members to remove.

 


 
UF_ASSEM_rename_instance (查看源代码)
 
定义在: uf_assem.h
 
概述
Renames an instance from an assembly part. Note that this changes the
instance name, but not the name of the corresponding part occurrence and
not the object name referred to by UF_OBJ_ask_name.

环境
内部和外部

历史
V15.0 change: This function was modified to return an integer error
code which can be passed into UF_get_fail_message.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_rename_instance
(
tag_t instance,
const char * new_name
)
tag_t (tag_t类型)instanceInput(输入)Tag of instance to rename.
const char *new_nameInput(输入)New name for instance

 


 
UF_ASSEM_replace_refset (查看源代码)
 
定义在: uf_assem.h
 
概述
Replace the reference set used by one or more instances or part
occurrences held in the target_tags array. If an instance is specified,
all part occurrences of that instance will use the new reference set.
This routine only works for immediate children of the work part.

If new_refset_name is a NULL pointer or a zero-length string, the
entire part is used. If it is the string "Empty", then none of the part
is displayed.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_replace_refset
(
int count,
tag_t * target_tags,
const char * new_refset_name
)
int (整数型)countInput(输入)Count of part occurrences
tag_t * (tag_t型的指针)target_tagsInput(输入)count
Array of instance and/or part occurrence tags
const char *new_refset_nameInput(输入)Name of new reference set

 


 
UF_ASSEM_reposition_instance (查看源代码)
 
定义在: uf_assem.h
 
概述
Reposition an existing instance to a new position/orientation.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_reposition_instance
(
tag_t instance,
double new_origin [ 3 ] ,
double new_csys_matrix [ 6 ]
)
tag_t (tag_t类型)instanceInput(输入)tag of instance to reposition
double (实数型)new_origin [ 3 ] Input(输入)New orientation of the instance
double (实数型)new_csys_matrix [ 6 ] Input(输入)New coordinate system matrix

 


 
UF_ASSEM_reposition_part_occurrence (查看源代码)
 
定义在: uf_assem.h
 
概述
Transforms the given part occurrence by the given delta transform, in
the context of the owning-assembly of the part occurrence. The option
is used to control what happens if the given part occ can't be
transformed (because the required explicit override does not exist).

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
Internal and External

历史
Initially released in NX3.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_reposition_part_occurrence
(
tag_t part_occ,
double xform [ 4 ] [ 4 ] ,
UF_ASSEM_level_option_t option
)
tag_t (tag_t类型)part_occInput(输入)The tag of the part occurrence
you wish to transform.
double (实数型)xform [ 4 ] [ 4 ] Output(输出)A 4x4 delta transform matrix
in terms of the displayed part.
UF_ASSEM_level_option_toptionInput(输入)If the given part occurrence
can't be transformed, the option
determines what happens next.
UF_ASSEM_use_strict_level - the
operation will fail and return
UF_ASSEM_err_operation_requires_override
UF_ASSEM_use_existing_level - the
operation will instead transform the
corresponding part occurrence at the
nearest level down in the assembly where
an appropriate override exists. If none
exists then the instance will be
transformed.
UF_ASSEM_establish_override - the
operation will create an override in
the part of the given part occurrence
and then perform the transform.

 


 
UF_ASSEM_restore_load_options (查看源代码)
 
定义在: uf_assem.h
 
概述
Restores the load options as recorded in the specified load options
file. The file should be in the format of the standard load_options.def
file, although there is no requirement to name the file
"load_options.def".

If NULL is passed in place of the specified file, this function restores
the `load_options.def' file in the current directory if it exists.
If the file passed in does not contain a complete set of load options
settings, the ones that are specified are changed and the others are
left unchanged.

返回
Return code:
0 = No error
1 = The file passed in does not exist or is unreadable
2 = The file passed is not a valid load options file
n = Error code

环境
内部和外部

参见
UF_ASSEM_ask_assem_options
UF_ASSEM_set_assem_options
Refer to example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_restore_load_options
(
const char * load_options_file
)
const char *load_options_fileInput(输入)The load options file that should be restored.

 


 
UF_ASSEM_revert_explode_comp (查看源代码)
 
定义在: uf_assem.h
 
概述
Explodes a component back to its normal assembly position. In
general, exploding a component causes its own components to move
with it. This function sets the component such that it always (and
associatively) retains its real position.

Exploding or unexploding the component loses this setting, and it
then explodes from the explosion position given by its parents in the
assembly.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_revert_explode_comp
(
tag_t explosion,
tag_t component
)
tag_t (tag_t类型)explosionInput(输入)The explosion in which to modify the component
tag_t (tag_t类型)componentInput(输入)the tag of a part occurrence not instance

 


 
UF_ASSEM_set_active_arrangement (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_set_active_arrangement

Sets which is the Active Assembly Arrangement in its part. (The part is
deduced from the given arrangement.) This is the Assembly Arrangement
which would take effect for it if that part were made the Displayed Part.
If it is currently the displayed part, then the component positions will
be updated immediately as appropriate.

参见
UF_ASSEM_ask_active_arrangement
UF_ASSEM_ask_used_arrangement
UF_ASSEM_set_used_arrangement
UF_ASSEM_ask_default_arrangement
UF_ASSEM_set_default_arrangement
UF_ASSEM_ask_name_of_arrangement
UF_ASSEM_ask_arrangements_in_part
Refer to example

历史
Initially released in NX2.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_active_arrangement
(
tag_t arrangement
)
tag_t (tag_t类型)arrangementInput(输入)The new Active Assembly Arrangement

 


 
UF_ASSEM_set_assem_options (查看源代码)
 
定义在: uf_assem.h
 
概述
Set the current settings of the assembly options. To assure that your
program continues to work correctly with future versions of Open
API, we recommend that you call UF_ASSEM_ask_assem_options to
initialize your options structure before setting the values you desire to
set/modify. New options may be added to the UF_ASSEM_options_s
structure in the future.

环境
内部和外部

参见
Refer to UF_ASSEM_options_t
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_set_assem_options
(
UF_ASSEM_options_t * options
)
UF_ASSEM_options_t *optionsInput(输入)Pointer to an assembly options structure

 


 
UF_ASSEM_set_auto_add_new_comps (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_set_auto_add_new_comps

Set whether new components will be added to the specified reference set
automatically or not.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

历史
Initially released in NX3.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_auto_add_new_comps
(
tag_t ref_set,
logical add_new_comps
)
tag_t (tag_t类型)ref_setInput(输入)The reference set
logicaladd_new_compsInput(输入)Whether new components are to be added automatically

 


 
UF_ASSEM_set_cost_of_step (查看源代码)
 
定义在: uf_assem.h
 
概述
Assign a cost to the given step

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_cost_of_step
(
tag_t step,
double assign_cost
)
tag_t (tag_t类型)stepInput(输入)The tag of the given step
double (实数型)assign_costInput(输入)The cost to be assigned to the step

 


 
UF_ASSEM_set_default_arrangement (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_set_default_arrangement

Set the Default Assembly Arrangement for its
part. (The part is deduced from the given arrangement.)
This is the Assembly Arrangement which would
used by a new parent assembly if this part were added
to that parent as a new component. No components are
repositioned as a result of calling this function.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

参见
UF_ASSEM_ask_active_arrangement
UF_ASSEM_set_active_arrangement
UF_ASSEM_ask_used_arrangement
UF_ASSEM_set_used_arrangement
UF_ASSEM_ask_default_arrangement
UF_ASSEM_ask_name_of_arrangement
UF_ASSEM_ask_arrangements_in_part
Refer to example

历史
Initially released in NX2.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_default_arrangement
(
tag_t arrangement
)
tag_t (tag_t类型)arrangementInput(输入)The new Default Assembly Arrangement for its part

 


 
UF_ASSEM_set_default_ref_sets (查看源代码)
 
定义在: uf_assem.h
 
概述
Applies the specified reference sets as the defaults in the order supplied.
The default reference sets must have "As Saved", "Entire Part" and
"Empty" in the list. If any of these are not specified in the supplied
list, they are added to the end of the list in that order.

环境
内部和外部

参见
UF_ASSEM_ask_default_ref_sets

历史
Original release was in V13.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_set_default_ref_sets
(
int n_ref_sets,
char * * default_ref_sets
)
int (整数型)n_ref_setsInput(输入)The number of default reference sets being set.
char * *default_ref_setsInput(输入)An ordered array of reference set names indicating
the default reference sets.

 


 
UF_ASSEM_set_instance_intent (查看源代码)
 
定义在: uf_assem.h
 
概述
Assigns intent data to an instance.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_instance_intent
(
tag_t instance,
UF_ASSEM_instance_intent_p_t instance_intent
)
tag_t (tag_t类型)instanceInput(输入)Object identifier of the instance
UF_ASSEM_instance_intent_p_tinstance_intentInput(输入)Data of the intent.

 


 
UF_ASSEM_set_ref_set_by_cset (查看源代码)
 
定义在: uf_assem.h
 
概述
Changes the reference set representing each component to a
reference set of the given name. If no reference set exists with that
name then the component is left as it was.

环境
内部和外部

参见
Refer to example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_set_ref_set_by_cset
(
tag_t cset,
const char * cname
)
tag_t (tag_t类型)csetInput(输入)Set of components to set reference set for
const char *cnameInput(输入)Name of reference set to represent each
component by. The entire part reference set
can be set by entering "None" as the reference set name.

 


 
UF_ASSEM_set_save_trueshape (查看源代码)
 
定义在: uf_assem.h
 
概述
Set the save true shape data option to the input value

环境
Internal and External
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_set_save_trueshape
(
logical save_trueshape_data
)
logicalsave_trueshape_dataInput(输入)Flag indicating whether true shape data should be saved.
(TRUE = save true shape data, FALSE = do not save true shape data)

 


 
UF_ASSEM_set_search_directories (查看源代码)
 
定义在: uf_assem.h
 
概述
Sets the list of the search directories. You must call
UF_ASSEM_set_assem_options to enable the use of search
directories.
This function may return the following non-standard error codes:
1 if at least one of the directories was bad
2 if all the directories were bad
All other error codes can be processed using UF_get_fail_message.

环境
内部和外部

参见
UF_ASSEM_set_assem_options
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_set_search_directories
(
int count,
char * * dir_list,
logical sub_dir [ ]
)
int (整数型)countInput(输入)The number of directories in the list.
char * *dir_listInput(输入)An array of "count" pointers to character strings
containing the directory names.
logicalsub_dir [ ] Input(输入)An array of "count" logicals. Each logical is TRUE
if the subdirectories of the corresponding directory
should be searched, or FALSE if the subdirectories
should not be searched.

 


 
UF_ASSEM_set_sequence_description (查看源代码)
 
定义在: uf_assem.h
 
概述
Sets the description of the given sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_sequence_description
(
tag_t sequence,
char * desc
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
char * (字符型指针)descInput(输入)The description to be assigned to
the sequence

 


 
UF_ASSEM_set_sequence_name (查看源代码)
 
定义在: uf_assem.h
 
概述
Sets the name of the given sequence.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_sequence_name
(
tag_t sequence,
char * name
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
char * (字符型指针)nameInput(输入)The name of the sequence

 


 
UF_ASSEM_set_step_increment (查看源代码)
 
定义在: uf_assem.h
 
概述
Sets the step increment of the given sequence. By default, the step increment
for a newly created sequence is 10.

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_step_increment
(
tag_t sequence,
int increment
)
tag_t (tag_t类型)sequenceInput(输入)The tag of the given sequence
int (整数型)incrementInput(输入)The step increment for the sequence

 


 
UF_ASSEM_set_suppression_exp (查看源代码)
 
定义在: uf_assem.h
 
概述
Assigns an expression to control the suppress state of the given instance.

环境
Internal and External
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_suppression_exp
(
tag_t instance,
const char * exp_string,
tag_t * exp_tag
)
tag_t (tag_t类型)instanceInput(输入)The tag of the instance to assign the
suppression expression for.
const char *exp_stringInput(输入)Expression string to use. If the expression
already exists in the instance's part, then
that expression will be used. You can use
UF_MODL_ask_exp_tag_string
to get the expression string for an existing
expression.
tag_t * (tag_t型的指针)exp_tagOutput(输出)Expression tag for the given expression string.

 


 
UF_ASSEM_set_time_of_step (查看源代码)
 
定义在: uf_assem.h
 
概述
Assign a time to the given step

环境
Internal and External

历史
Initially released in V18.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_time_of_step
(
tag_t step,
double assign_time
)
tag_t (tag_t类型)stepInput(输入)The tag of the given step
double (实数型)assign_timeInput(输入)The time to be assigned to the step

 


 
UF_ASSEM_set_used_arrangement (查看源代码)
 
定义在: uf_assem.h
 
概述
UF_ASSEM_set_used_arrangement

Sets the Used Assembly Arrangement for a given
component. This is the Assembly Arrangement which
is used to represent that component in the parent
part of that component. The positions of the
components beneath the given component are updated
as appropriate.

返回
Error code - use UF_get_fail_message to obtain the
corresponding error message

环境
This function is supported for both Internal and
External execution.

参见
UF_ASSEM_ask_active_arrangement
UF_ASSEM_set_active_arrangement
UF_ASSEM_ask_used_arrangement
UF_ASSEM_ask_default_arrangement
UF_ASSEM_set_default_arrangement
UF_ASSEM_ask_name_of_arrangement
UF_ASSEM_ask_arrangements_in_part
Refer to example

历史
Initially released in NX2.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_used_arrangement
(
tag_t component,
tag_t arrangement
)
tag_t (tag_t类型)componentInput(输入)The component to modify
tag_t (tag_t类型)arrangementInput(输入)The new Used Assembly Arrangement for that Component

 


 
UF_ASSEM_set_view_explosion (查看源代码)
 
定义在: uf_assem.h
 
概述
Sets the explosion used in a view; the view may already have an
explosion in which case it is replaced. Drafting view-dependent
geometry such as dimensions and silhouettes is appropriately adjusted
or marked for update. "explosion" may be NULL_TAG, in which
case the view is reset to having no explosion if one was in use.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_set_view_explosion
(
tag_t view,
tag_t explosion
)
tag_t (tag_t类型)viewInput(输入)The view which should be associated with (and
therefore display) the given explosion.
tag_t (tag_t类型)explosionInput(输入)The explosion to use.

 


 
UF_ASSEM_set_work_occurrence (查看源代码)
 
定义在: uf_assem.h
 
概述
Set the work part and work occurrence to part_occur. This routine sets
just the work part, not the displayed part. If you set the work part
to a partially loaded part, the system finishes loading the part.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_set_work_occurrence
(
tag_t part_occur
)
tag_t (tag_t类型)part_occurInput(输入)Tag of part occurrence

 


 
UF_ASSEM_set_work_part (查看源代码)
 
定义在: uf_assem.h
 
概述
Sets the work part to a different part. If part is NULL_TAG, the work
part is set to the displayed part. This routine sets just the work part,
not the displayed part. This routine only modifies the work part in an
assembly. If not working in an assembly, use UF_PART_set_display_part.
If there is more than one occurrence in the displayed part, the first one
is chosen. If you set the work part to a partially loaded part, the
system finishes loading the part.

环境
内部和外部

历史
In V16.0 this function was changed to no longer perform an update.
If an update is required, the calling program must now specifically
call UF_MODL_update.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_set_work_part
(
tag_t part
)
tag_t (tag_t类型)partInput(输入)Tag of part to be set as work part.

 


 
UF_ASSEM_set_work_part_quietly (查看源代码)
 
定义在: uf_assem.h
 
概述
Set the work part to a different part quietly. Setting the work part quietly
sets the work part without updating the display in an interactive NX session.
By doing this, objects can be created in other than the current work part
(which most Open API routines currently rely on). This routine will
return an error if the given part is not already fully loaded.

This routine should be used with great care and the previous
environment should be restored immediately.

环境
内部和外部

Warning:
This routine can be used when necessary to perform operations in parts which are
not the work part. The function should always be called in pairs, once
before and once immediately after the desired operation is performed
in the other part. Always specify the previous_work_part
returned by the first call as the part argument for the second call.
Doing many operations within the context of a work part that has been
set via this function can be a source of instabilities in the system.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_set_work_part_quietly
(
tag_t part,
tag_t * previous_work_part
)
tag_t (tag_t类型)partInput(输入)the part to become the new work part
tag_t * (tag_t型的指针)previous_work_partOutput(输出)the work part when this routine
was called (NX should be reset to
this immediately after completing
the context sensitive operations.)

 


 
UF_ASSEM_show_component (查看源代码)
 
定义在: uf_assem.h
 
概述
Unhide the given component in the given view.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_show_component
(
tag_t component,
tag_t view
)
tag_t (tag_t类型)componentInput(输入)the tag of a part occurrence not instance
tag_t (tag_t类型)viewInput(输入)The view in which to un-hide the component

 


 
UF_ASSEM_substitute_component (查看源代码)
 
定义在: uf_assem.h
 
概述
Replaces the part used by an instance with a new part. The instance to
be replaced must be an instance of the work part. This operation is
equivalent to deleting the instance and creating a new one so that the
old instance tag is no longer valid after a call to this routine. Instead,
the tag of the new instance is returned.

环境
内部和外部

参见
See UF_ASSEM_use_alternate
if you want to maintain mating conditions.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_substitute_component
(
tag_t * instance,
const char * new_part_version,
const char * new_comp_name,
const char * new_refset_name,
int layer,
UF_PART_load_status_t * load_status
)
tag_t * (tag_t型的指针)instanceInput / OutputPointer to tag of instance
const char *new_part_versionInput(输入)Name of new component part version
const char *new_comp_nameInput(输入)Name of new component
const char *new_refset_nameInput(输入)Name of new reference set
int (整数型)layerInput(输入)-1 = original
0 = use work layer
1-255 = use specified layer
UF_PART_load_status_t *load_statusOutput to be freed
输出并释放
See the UF_PART_load_status_t structure
definition. The allocated structure is
filled with the names and associated error
codes of any parts that did not load
correctly. The allocated arrays must be
freed with UF_free_string_array and
UF_free.

 


 
UF_ASSEM_suppress_array (查看源代码)
 
定义在: uf_assem.h
 
概述
Suppress a component array so that it no longer updates. Note that
the appearance of the array does not change.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_suppress_array
(
tag_t array
)
tag_t (tag_t类型)arrayInput(输入)Tag of array to be suppressed.

 


 
UF_ASSEM_suppress_instances (查看源代码)
 
定义在: uf_assem.h
 
概述
Suppresses the given instances. This function returns the first error code
found in the failures array, or 0 if there were no errors.

环境
Internal and External
 
需要许可证(S)
assemblies

 
int UF_ASSEM_suppress_instances
(
int n_instances,
tag_t instances [ ] ,
int failures [ ]
)
int (整数型)n_instancesInput(输入)The number of instances to suppress.
tag_t (tag_t类型)instances [ ] Input(输入)The tags of the instances to suppress.
int (整数型)failures [ ] Output(输出)Failure codes for each instance (0 if no failure)

 


 
UF_ASSEM_terminate_sequencing (查看源代码)
 
定义在: uf_assem.h
 
概述
Terminates the sequencing environment.
Must be called when no further sequencing operations are intended.

环境
Internal and External

历史
Initially released in NX 3.0
 
需要许可证(S)
assemblies

 
int UF_ASSEM_terminate_sequencing
(
void
)

 


 
UF_ASSEM_unexplode_component (查看源代码)
 
定义在: uf_assem.h
 
概述
Unexplodes a component by setting the explosion transform of a
component to NULL. The new position of the component in the
explosion is the position of its parent plus its normal assembly
transform.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_unexplode_component
(
tag_t explosion,
tag_t part_occurrence
)
tag_t (tag_t类型)explosionInput(输入)The explosion in which to modify the component
tag_t (tag_t类型)part_occurrenceInput(输入)The component (its part occurrence)

 


 
UF_ASSEM_unset_suppression_exp (查看源代码)
 
定义在: uf_assem.h
 
概述
Removes the dependency on an expression for the given instance's suppress state.

环境
Internal and External
 
需要许可证(S)
assemblies

 
int UF_ASSEM_unset_suppression_exp
(
tag_t instance
)
tag_t (tag_t类型)instanceInput(输入)The tag of the instance to remove suppression by
expression from.

 


 
UF_ASSEM_unsuppress_array (查看源代码)
 
定义在: uf_assem.h
 
概述
Unsuppress a component array so that it updates.

环境
内部和外部
 
需要许可证(S)
assemblies

 
int UF_ASSEM_unsuppress_array
(
tag_t array
)
tag_t (tag_t类型)arrayInput(输入)Tag of array to unsuppress.

 


 
UF_ASSEM_unsuppress_instances (查看源代码)
 
定义在: uf_assem.h
 
概述
Unsuppresses the given instances. This function returns the first error code
found in the failures array, or 0 if there were no errors.

环境
Internal and External
 
需要许可证(S)
assemblies

 
int UF_ASSEM_unsuppress_instances
(
int n_instances,
tag_t instances [ ] ,
int failures [ ]
)
int (整数型)n_instancesInput(输入)The number of instances to suppress.
tag_t (tag_t类型)instances [ ] Input(输入)The tags of the instances to suppress.
int (整数型)failures [ ] Output(输出)Failure codes for each instance (0 if no failure)

 


 
UF_ASSEM_upgrade_to_instances (查看源代码)
 
定义在: uf_assem.h
 
概述
Upgrade the components in an assembly in a part to use instances. If
upgrade fails, then upgrade_status contains failure codes for each
component that failed to upgrade.

返回
Returns TRUE if successful; otherwise returns FALSE.

环境
内部和外部

参见
See UF_ASSEM_upgrade_status_t
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
logical UF_ASSEM_upgrade_to_instances
(
tag_t part,
int n_components,
tag_t * components,
logical recurse,
logical create_component,
UF_ASSEM_upgrade_status_t * upgrade_status
)
tag_t (tag_t类型)partInput(输入)Tag of part containing components to be upgraded
int (整数型)n_componentsInput(输入)Number of components in the "components" array
tag_t * (tag_t型的指针)componentsInput(输入)n_components
Array of old style components to be upgraded
logicalrecurseInput(输入)TRUE = recurse thru listed components
upgrading their subassemblies;
FALSE = only upgrade components listed
logicalcreate_componentInput(输入)FALSE = look for v10 part in memory and disk
and update with part if found;
otherwise fail to upgrade component
TRUE = Try above, if part not found create
part in current directory and move
geometry to it
UF_ASSEM_upgrade_status_t *upgrade_statusOutput to be freed
输出并释放
Contains failure code for each
component that failed to upgrade.
Structure arrays must be freed with
UF_free.

 


 
UF_ASSEM_use_alternate (查看源代码)
 
定义在: uf_assem.h
 
概述
Replaces the part used by an instance with a new part. The instance to
be modified must be an instance of the work part.

Assuming that the old and new parts have been defined as alternates,
the substitution maintains any mating conditions which involve the old
part. See the Alternates section of the Assemblies User Manual.

This function can be called in exactly the same way as
UF_ASSEM_substitute_component except that it is not possible to
change the component's layer using this option. Note, however, that
the instance tag is not changed by this function.

环境
内部和外部

参见
See UF_ASSEM_substitute_component
if maintaining mating conditions is not required.
 
需要许可证(S)
assemblies

 
int UF_ASSEM_use_alternate
(
tag_t* instance,
const char * new_part,
const char * new_comp_name,
const char * new_refset_name,
UF_PART_load_status_t * load_status
)
tag_t*instanceInput(输入)Pointer to tag of instance
const char *new_partInput(输入)Name of the new part to use in place of the old part
const char *new_comp_nameInput(输入)New name of the component
const char *new_refset_nameInput(输入)Name of reference set to use
UF_PART_load_status_t *load_statusOutput to be freed
输出并释放
See the UF_PART_load_status_t structure
definition. The allocated structure is
filled with the names and associated error
codes of any parts that did not load
correctly. The allocated arrays must be
freed with UF_free_string_array and
UF_free.

 


 
UF_ASSEM_where_is_part_used (查看源代码)
 
定义在: uf_assem.h
 
概述
Asks for the list of parent part tags that have the requested part as an
immediate child in the current session. A parent part appears in the
returned array once for each time it is a parent of the given part. So
given wheel in auto you would see axle twice.

CAUTION: Do not confuse this command with the "where-used" function.

返回
Return the number of parent parts found.

环境
内部和外部

参见
The following table of parameter values for this function is
based on the automobile example
Refer to table
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_where_is_part_used
(
tag_t part,
tag_t * * parent_parts
)
tag_t (tag_t类型)partInput(输入)Tag of child part for query
tag_t * *parent_partsOutput to be freed
输出并释放
Allocated array of tags of parent parts. The
parent_parts array must be freed with UF_free when
it is no longer needed.

 


 
UF_ASSEM_where_used_report (查看源代码)
 
定义在: uf_assem.h
 
概述
Displays a where used report to the listing device for the given
component filename. A list of files and corresponding error codes are
allocated and returned in the load_status structure for any files that
could not be processed successfully.

环境
内部和外部

参见
UF_PART_load_status_t

历史
V15.0 change: This function was modified to return an integer error
code which can be passed into UF_get_fail_message.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_ASSEM_where_used_report
(
const char * comp_name,
const char * dir,
int search_opt,
logical do_all_levels,
UF_PART_load_status_t * load_status
)
const char *comp_nameInput(输入)Component file name. This should be the simple name
without a directory path.
const char *dirInput(输入)specified directory if search_opt = 2
int (整数型)search_optInput(输入)search options
0 = use search directories
1 = use component directory
2 = use <dir>
logicaldo_all_levelsInput(输入)report all levels of the assembly tree in which a
component is found
UF_PART_load_status_t *load_statusOutput to be freed
输出并释放
See the UF_PART_load_status_t structure
definition. The allocated structure is
filled with the names and associated error
codes of any parts that did not load
correctly. The allocated arrays must be
freed with UF_free_string_array and
UF_free.