UF_CLONE_add_assembly (查看源代码)
定义在: uf_clone.h
概述
This routine adds an assembly to the current clone operation. Any load errors
will be placed in the load_status output argument. Possible errors that will
be recorded here are
UF_CLONE_err_bvr_out_of_sync - meaning that the BVR has been
modified in NX Manager since the part was last saved, and
UF_CLONE_err_comp_not_found, meaning a component could not be
found using the current load options.
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_add_assembly
(
const char * part_name,
UF_PART_load_status_p_t load_status
)
| const char * | part_name | Input(输入) | The name of the top-level assembly file to add; for native, or import, an O/S filename; in NX Manager or for export, a CLI name |
| UF_PART_load_status_p_t | load_status | Output to be freed 输出并释放 | The load status for the initialisation operation |
UF_CLONE_add_part (查看源代码)
定义在: uf_clone.h
概述
This routine adds a part to an initialised clone operation. If the part is an
assembly part, any components of the assembly not already a part of the clone
operation will be added as name only references
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_add_part
(
const char * part_name
)
| const char * | part_name | Input(输入) | The name of the part file to add; for native, or import, an O/S filename, in NX Manager or for export, a CLI name |
UF_CLONE_apply_defaults (查看源代码)
定义在: uf_clone.h
概述
This routine applies default values to all parts in the clone
operation without performing the clone. Defaults application
may generate naming rule failures. In this case the clone will
not be performed, the return code will be
UF_CLONE_err_naming_failures and the
naming_failures argument will be filled in with:
a count of the number of errors (n_failures)
an array of error codes (statuses) which must be freed
an array of input names (input_names) which must be freed
with UF_FREE_string_array
an array of output_names (output_names), entries may be
null, must be freed with UF_FREE_string_array
The function UF_CLONE_init_naming_failures should be used to
initialise the naming_failures structure before it is passed to
this function.
返回
Return code :
= 0 : successful
UF_CLONE_err_naming_failures: naming failures occurred,
details reported in the naming_failures output
argument
= not 0: Error code, use UF_get_fail_message to obtain message string
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_apply_defaults
(
UF_CLONE_naming_failures_p_t naming_failures
)
| UF_CLONE_naming_failures_p_t | naming_failures | Input / Output | Pointer to a naming failures structure.If a naming failure occurs the return code will be UF_CLONE_err_naming_failures and this structure will be filled in |
UF_CLONE_apply_selective_export_xml (查看源代码)
定义在: uf_clone.h
概述
This routine uses the PLMXML structure specified in "filename" to define
a selective Clone Export operation. It is mainly intended for use by the
ug_selective_export utility. It has no meaning for a Clone or Clone
Import operation.
环境
Internal and External
历史
Originally released in NX2.0
需要许可证(S)
assemblies
int UF_CLONE_apply_selective_export_xml
(
const char* xml_file,
UF_PART_load_status_p_t load_status
)
UF_CLONE_ask_action (查看源代码)
定义在: uf_clone.h
概述
This routine returns the action which has been applied to the specified
component in the current clone operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_action
(
const char * input_part_name,
UF_CLONE_action_t * action_type
)
| const char * | input_part_name | Input(输入) | name of the part for which the action is to be returned, in NX Manager or for export a CLI form name, otherwise a native file name |
| UF_CLONE_action_t * | action_type | Output(输出) | the action currently applied to this part |
UF_CLONE_ask_assoc_file_copy (查看源代码)
定义在: uf_clone.h
概述
This routine returns the value of the associated file copy flag for the given
part.
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_assoc_file_copy
(
const char * input_part_name,
logical * copy_associated
)
| const char * | input_part_name | Input(输入) | part name of part in the current cloning operation, in NX Manager clone, or for an export operation, this should be a CLI name, otherwise a native O/S file name |
| logical * | copy_associated | Output(输出) | whether to copy associated files for this part |
UF_CLONE_ask_assoc_file_dir (查看源代码)
定义在: uf_clone.h
概述
This routine returns the directory in which associated files for
the specified part will be placed, if relative, then relative to
the associated file root directory
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_assoc_file_dir
(
const char * input_part_name,
char * * assoc_file_dir
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; for export, a CLI name |
| char * * | assoc_file_dir | Output to be freed 输出并释放 | directory to be used, a native file specification, relative or absolute, or the empty string |
UF_CLONE_ask_assoc_file_root_dir (查看源代码)
定义在: uf_clone.h
概述
This routine returns the root directory below which part specific associated
file directories will be placed (for export) or looked for (for import)
If this option has not been set, the empty string will be returned
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_assoc_file_root_dir
(
char * * root_directory
)
| char * * | root_directory | Output to be freed 输出并释放 | the root directory which will be used, or the empty string |
UF_CLONE_ask_attach_log_file (查看源代码)
定义在: uf_clone.h
概述
This routine returns the attach_log_file flag for the current operation. It has no
meaning outside of the clone import operation.
环境
内部和外部
历史
Originally released in NX5.1
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_attach_log_file
(
logical * attach_log_file
)
UF_CLONE_ask_ci (查看源代码)
定义在: uf_clone.h
概述
This routine asks the checkin options to be used for the
specified part in the current import operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_ci
(
const char * input_part_name,
UF_CLONE_checkin_data_p_t * checkin_data
)
| const char * | input_part_name | Input(输入) | the name of a part in the current import operation, a native O/S filename |
| UF_CLONE_checkin_data_p_t * | checkin_data | Output to be freed 输出并释放 | the checkin options which will be applied or null if none have been set |
UF_CLONE_ask_ci_comment_checking (查看源代码)
定义在: uf_clone.h
概述
This routine returns the comment checking behaviour on checkin for the
specified part.
返回
Return Code:
=0: success
>0: failure code
环境
Internal or External
历史
Originally released in v19.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_ci_comment_checking
(
const char * input_part_name,
logical * error_unless_comments_match,
char * * comment
)
| const char * | input_part_name | Input(输入) | The name of the part in the current export operation, a CLI name |
| logical * | error_unless_comments_match | Output(输出) | Whether to report an error if the checkout comment does not match the given comment |
| char * * | comment | Output to be freed 输出并释放 | string containing the comment to be checked |
UF_CLONE_ask_co (查看源代码)
定义在: uf_clone.h
概述
This routine returns the checkout options to be used for the specified part in
the current export operation.
返回
Return code :
= 0 : successful
= not 0: Error code, use UF_get_fail_message to obtain message string
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_co
(
const char * input_part_name,
UF_CLONE_checkout_data_p_t * checkout_data
)
| const char * | input_part_name | Input(输入) | The name of the part in the current export operation, a CLI name |
| UF_CLONE_checkout_data_p_t * | checkout_data | Output to be freed 输出并释放 | checkout options which will be applied or NULL if none have been set |
UF_CLONE_ask_cvt_callbacks (查看源代码)
定义在: uf_clone.h
概述
This routine returns the currently registered convert callbacks in three
parallel arrays containing the callbcack points, the names of the callbacks
and the descriptions of the callbacks
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_cvt_callbacks
(
int * n_callbacks,
UF_CLONE_convert_cb_p_t * points,
char * * * names,
char * * * descriptions
)
| int * (整数型指针) | n_callbacks | Output(输出) | number of callbacks registered |
| UF_CLONE_convert_cb_p_t * | points | Output to be freed 输出并释放 | callback points |
| char * * * | names | Output to be freed 输出并释放 | n_callbacks (with UF_free_string_array) names of callbacks |
| char * * * | descriptions | Output to be freed 输出并释放 | n_callbacks (with UF_free_string_array) descriptions of callbacks |
UF_CLONE_ask_def_action (查看源代码)
定义在: uf_clone.h
概述
This routine returns the default action for the current clone operation
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_action
(
UF_CLONE_action_t * action
)
UF_CLONE_ask_def_assoc_file_copy (查看源代码)
定义在: uf_clone.h
概述
This routine returns a logical indication whether by default associated files
will be copied, imported or exported (as appropriate) in this clone operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_assoc_file_copy
(
logical * copy_associated
)
| logical * | copy_associated | Output(输出) | whether to copy associated files by default |
UF_CLONE_ask_def_ci (查看源代码)
定义在: uf_clone.h
概述
This routine asks the default checkin options to be used in the
current import operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_ci
(
UF_CLONE_checkin_data_p_t * checkin_data
)
UF_CLONE_ask_def_ci_comment_checking (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default comment checking behaviour on checkin for the
import operation
返回
Return Code:
=0: success
>0: failure code
环境
Internal or External
历史
Originally released in v19.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_ci_comment_checking
(
logical * error_unless_comments_match,
char * * comment
)
| logical * | error_unless_comments_match | Output(输出) | Whether to report an error if the checkout comment does not match the given comment |
| char * * | comment | Output to be freed 输出并释放 | string containing the comment to be checked |
UF_CLONE_ask_def_co (查看源代码)
定义在: uf_clone.h
概述
This routine returns the default checkout options to be used for the current
export operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_co
(
UF_CLONE_checkout_data_p_t * checkout_data
)
UF_CLONE_ask_def_directory (查看源代码)
定义在: uf_clone.h
概述
This routine returns the default directory that parts created during a native
clone or a clone based export will be placed in.
If this option is not set then the empty string will be returned
used
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_directory
(
char * * directory_name
)
| char * * | directory_name | Output to be freed 输出并释放 | directory to place created parts in |
UF_CLONE_ask_def_folder (查看源代码)
定义在: uf_clone.h
概述
This routine returns the value of the default folder that parts
generated during an NX Manager clone or clone based import will be placed
in.
The folder name will be specified as
<user-name>:[<containing-folder>:...]<folder-name>
e.g. "smith:Imported Parts:machinehead" or "smith:My Parts"
If this option is not set, then the empty string will be returned
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_folder
(
char * * folder_name
)
| char * * | folder_name | Output to be freed 输出并释放 | the default folder parts will be placed in |
UF_CLONE_ask_def_group (查看源代码)
定义在: uf_clone.h
概述
This routine returns the default group that will be applied to Items,
ItemRevisions and Datasets created during this operation. If this is the empty
string, then the group under which the executing user is logged in will be used.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_group
(
char * * group
)
| char * * | group | Output to be freed 输出并释放 | the group ownership which will be assigned by default to Items, ItemRevisions and datasets created by this clone operation |
UF_CLONE_ask_def_item_type (查看源代码)
定义在: uf_clone.h
概述
This routine returns the default item type that will be used in this import
operation. This item type will be applied to newly created Items, ItemRevisions
or Datasets for which the part being imported has not had its item type set
by some other method (such as by having a user name applied, or via a convert
callback)
This setting is ignored for export operations (where it is irrelevant), and
for clone operations (where the type of the source part will be used if none
has been otherwise set). However it will be recorded in the clone log-file.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_item_type
(
char * * item_type
)
| char * * | item_type | Output to be freed 输出并释放 | string containing the default item type for this import operation |
UF_CLONE_ask_def_naming (查看源代码)
定义在: uf_clone.h
概述
This routine returns the default naming technique of the current clone
operation. This is the naming technique that will be applied during an
apply_defaults operation to all parts which have the naming type
UF_CLONE_default_naming.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_naming
(
UF_CLONE_naming_technique_t * naming
)
UF_CLONE_ask_def_nm_copy (查看源代码)
定义在: uf_clone.h
概述
This routine returns a list of nonmaster copy options. Each entry contains:
nonmaster_type: the name of the nonmaster type to which this
flag applies, must be freed with UF_free
copy: logical indicating whether it will be copied
next: pointer to next element in list, NULL to end list
each entry must also be freed after use using UF_free
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_nm_copy
(
UF_CLONE_copy_nm_opt_p_t * copy_nonmaster_opts
)
| UF_CLONE_copy_nm_opt_p_t * | copy_nonmaster_opts | Output to be freed 输出并释放 | list of default nonmaster copy options, which must each be freed |
UF_CLONE_ask_def_owner (查看源代码)
定义在: uf_clone.h
概述
This routine returns the default owner that will be applied to Items,
ItemRevisions and Datasets created during this operation. If this is the empty
string, then the user under which the executing user is logged in will be used.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_owner
(
char * * owner
)
| char * * | owner | Output to be freed 输出并释放 | default owner that will be assigned to Items, ItemRevisions and Datasets created during this operation |
UF_CLONE_ask_def_pdm_desc (查看源代码)
定义在: uf_clone.h
概述
This routine returns a string containing the default description which will be
applied during the import operation. This description will be applied to newly
created Items and ItemRevisions for which the part being imported has not had
its description set by some other method (such as by having a user name applied,
or via a convert callback).
This setting is ignored for export operations (where it is irrelevant), and for
clone operations (where the description of the source part will be used if
none has been otherwise set).
However it will be recorded in the clone log-file.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_pdm_desc
(
char * * pdm_desc
)
| char * * | pdm_desc | Output to be freed 输出并释放 | string containing the default PDM description for this import operation |
UF_CLONE_ask_def_pdm_name (查看源代码)
定义在: uf_clone.h
概述
This routine returns a string containing the default PDM name which will be
applied during the import operation. This name will be applied to newly
created Items, ItemRevisions or Datasets for which the part being imported
has not had its description set by some other method (such as by having a
user name applied, or via a convert callback
This setting is ignored for export operations (where it is irrelevant), and
for clone operations (where the name of the source part will be used if none
has been otherwise set). However it will be recorded in the clone log-file.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_def_pdm_name
(
char * * pdm_name
)
| char * * | pdm_name | Output to be freed 输出并释放 | string containing the default PDM name for this import operation |
UF_CLONE_ask_def_validation_options (查看源代码)
定义在: uf_clone.h
概述
This routine returns the default validation related options
环境
内部和外部
参见
历史
Originally released in V5.0
需要许可证(S)
assemblies
int UF_CLONE_ask_def_validation_options
(
UF_CLONE_validation_opts_p_t * validation_options
)
| UF_CLONE_validation_opts_p_t * | validation_options | Output to be freed 输出并释放 | Default validation options Must be freed using UF_CLONE_free_validation_options |
UF_CLONE_ask_dryrun (查看源代码)
定义在: uf_clone.h
概述
This routine returns the value of the dryrun flag for the current operation.
If this flag is true, then when UF_CLONE_perform_clone is called, a log file
will be written but the operation will not actually be performed. A log
file must be specified for the dryrun to work.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_dryrun
(
logical * dryrun
)
| logical * | dryrun | Output(输出) | true for a dryrun, false if the operation will actually take place |
UF_CLONE_ask_family_treatment (查看源代码)
定义在: uf_clone.h
概述
This routine asks what the treatment of Part Family Members by Clone is.
环境
内部和外部
参见
UF_CLONE_set_family_treatment
历史
Originally released in V18.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_family_treatment
(
UF_CLONE_family_treatment_t * treatment
)
UF_CLONE_ask_group (查看源代码)
定义在: uf_clone.h
概述
This routine returns the group that will be applied to the Item, ItemRevision
and Dataset created if needed for this part in this operation. If this is the
empty string, then the group under which the executing user is logged in will
be used. If the Item, Itemrevision or dataset already exist then they will not
be affected.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_group
(
const char * input_part_name,
char * * group
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; in NX Manager or for export, a CLI name |
| char * * | group | Output to be freed 输出并释放 | the group ownership which will be assigned to Items, ItemRevisions and datasets created for this part, or the empty string |
UF_CLONE_ask_item_type (查看源代码)
定义在: uf_clone.h
概述
This routine returns the item type that has been set for this part in the
current operation. It may be the empty string, in which case the default
behaviour will be applied. No attempt is made to verify that the item type
exists in the database, if it does not, then again the default behaviour will
be applied.
See UF_CLONE_ask_def_item_type for a description of the default behaviour.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_item_type
(
const char * input_part_name,
char * * item_type
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; in NX Manager or for export, a CLI name |
| char * * | item_type | Output to be freed 输出并释放 | The item type that has been applied to the part |
UF_CLONE_ask_logfile (查看源代码)
定义在: uf_clone.h
概述
This routine returns a string containing the name of the log file that will
be written when UF_CLONE_perform_clone is called. If the value returned is
NULL, no log file has been specified, and so no log file will be written.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_logfile
(
char * * log_file_name
)
| char * * | log_file_name | Output to be freed 输出并释放 | the name of the logfile that will be written by this clone operation or NULL if one has not been specified |
UF_CLONE_ask_naming (查看源代码)
定义在: uf_clone.h
概述
This routine returns the naming technique currently specified for the
specified part in the current clone operation. If the naming technique has
already been applied (by calling UF_CLONE_set_naming, or
UF_CLONE_apply_defaults) then the output name currently applied wil be
returned in the output_part_spec argument. If the naming technique has not
been applied, then an empty string will be returned in the output_part_spec
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_naming
(
const char * input_part_name,
UF_CLONE_naming_technique_t * naming_technique,
char * * output_part_spec
)
| const char * | input_part_name | Input(输入) | part name of part in the current cloning operation, in NX Manager clone, or for an export operation , this should be a CLI name, otherwise a native O/S file name |
| UF_CLONE_naming_technique_t * | naming_technique | Output(输出) | naming technique currently assigned to the specified part |
| char * * | output_part_spec | Output to be freed 输出并释放 | output part name if set otherwise NULL returned in NX Manager clone, or for an import operation , this will be a CLI name, otherwise a native O/S file name |
UF_CLONE_ask_nm_copy (查看源代码)
定义在: uf_clone.h
概述
This routine returns a list of nonmaster copy options for the specified part.
Each entry contains:
nonmaster_type: the name of the nonmaster type to which this
flag applies, must be freed with UF_free
copy: logical indicating whether it will be copied
next: pointer to next element in list, NULL to end list
each entry must also be freed after use using UF_free
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_nm_copy
(
const char * input_part_name,
UF_CLONE_copy_nm_opt_p_t * copy_nonmaster_opts
)
| const char * | input_part_name | Input(输入) | part name of part in the current cloning operation, in NX Manager clone, or for an export operation, this should be a CLI name, otherwise a native O/S file name |
| UF_CLONE_copy_nm_opt_p_t * | copy_nonmaster_opts | Output to be freed 输出并释放 | list of nonmaster copy options |
UF_CLONE_ask_ntfy_callbacks (查看源代码)
定义在: uf_clone.h
概述
This routine returns the currently registered notify callbacks in three
parallel arrays containing the callback points, the names of the callbacks
and the descriptions of the callbacks.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_ntfy_callbacks
(
int * n_callbacks,
UF_CLONE_notify_cb_p_t * points,
char * * * names,
char * * * descriptions
)
| int * (整数型指针) | n_callbacks | Output(输出) | number of callbacks registered |
| UF_CLONE_notify_cb_p_t * | points | Output to be freed 输出并释放 | callback points |
| char * * * | names | Output to be freed 输出并释放 | n_callbacks (with UF_free_string_array) names of callbacks |
| char * * * | descriptions | Output to be freed 输出并释放 | n_callbacks (with UF_free_string_array) descriptions of callbacks |
UF_CLONE_ask_operation_class (查看源代码)
定义在: uf_clone.h
概述
This routine returns the class of the current clone operation
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_operation_class
(
UF_CLONE_operation_class_p_t operation_class
)
UF_CLONE_ask_owner (查看源代码)
定义在: uf_clone.h
概述
This routine returns the owner that will be applied to the Item, ItemRevision
and Dataset created if needed for this part in this operation. If this is the
empty string, then the owner under which the executing user is logged in will
be used. If the Item, Itemrevision or dataset already exist then they will
not be affected.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_owner
(
const char * input_part_name,
char * * owner
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; in NX Manager or for export, a CLI name |
| char * * | owner | Output to be freed 输出并释放 | the owner that will be used when creating PDM data for this part, or the empty string |
UF_CLONE_ask_part_attrs (查看源代码)
定义在: uf_clone.h
概述
This routine returns an array of attributes for specified part from
the current clone operation
环境
内部和外部
历史
Originally released in NX6.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_part_attrs
(
const char * part_name,
int * n_attributes,
UF_ATTR_part_attr_p_t * attributes
)
| const char * | part_name | Input(输入) | The name of a part in the current clone operation; for native, or import, an O/S filename; in NX Manager or for export, a CLI name |
| int * (整数型指针) | n_attributes | Output(输出) | the number of attributes returned |
| UF_ATTR_part_attr_p_t * | attributes | Output to be freed 输出并释放 | Allocated array of structures holding attribute titles and values. This must be freed by the caller using UF_free. |
UF_CLONE_ask_part_state (查看源代码)
定义在: uf_clone.h
概述
This routine returns the state of the specified part in the
current clone operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_part_state
(
const char * input_part_name,
UF_CLONE_part_state_p_t state
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for native, or import, an O/S filename; in NX Manager or for export, a CLI name |
| UF_CLONE_part_state_p_t | state | Output(输出) | the part's state |
UF_CLONE_ask_pdm_desc (查看源代码)
定义在: uf_clone.h
概述
This routine returns the PDM description that has been set for this part, or
the empty string if none has been supplied in which case the default
description will be used
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_pdm_desc
(
const char * input_part_name,
char * * pdm_desc
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; in NX Manager or for export, a CLI name |
| char * * | pdm_desc | Output to be freed 输出并释放 | the description which will be applied or the empty string |
UF_CLONE_ask_pdm_name (查看源代码)
定义在: uf_clone.h
概述
This routine returns the PDM name that has been set for this part, or the
empty string if none has been supplied in which case the default description
will be used
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_pdm_name
(
const char * input_part_name,
char * * pdm_name
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; in NX Manager or for export, a CLI name |
| char * * | pdm_name | Output to be freed 输出并释放 | the name which will be applied or the empty string |
UF_CLONE_ask_rev_up (查看源代码)
定义在: uf_clone.h
概述
This routine returns the rev_up flag for the current operation. It has no
meaning outside of the clone import operation.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_CLONE_ask_rev_up
(
logical * rev_up
)
UF_CLONE_ask_validation_abort_option (查看源代码)
定义在: uf_clone.h
概述
This routine returns the global validation abort options
环境
内部和外部
参见
历史
Originally released in V5.0
需要许可证(S)
assemblies
int UF_CLONE_ask_validation_abort_option
(
logical * abort_import
)
| logical * | abort_import | Output(输出) | whether to abort part import when validation failed |
UF_CLONE_ask_validation_options (查看源代码)
定义在: uf_clone.h
概述
This routine returns validation options for the specified part.
环境
内部和外部
参见
历史
Originally released in V5.0
需要许可证(S)
assemblies
int UF_CLONE_ask_validation_options
(
const char * input_part_name,
UF_CLONE_validation_opts_p_t * validation_options
)
| const char * | input_part_name | Input(输入) | Part name of part in the current cloning operation. It is a native O/S file name. Only relevant for import operation in an NX Manager environment. |
| UF_CLONE_validation_opts_p_t * | validation_options | Output to be freed 输出并释放 | Default validation options Must be freed using UF_CLONE_free_validation_options |
UF_CLONE_create_log_file (查看源代码)
定义在: uf_clone.h
概述
This routine receives the name of an input assembly and the name of
a log file and performs a dryrun clone operation with the logging
output written to the given log file. This is suitable for
generating a basic log file for subsequent editing external to
NX before being used as input to UF_CLONE_execute_log_file
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_create_log_file
(
UF_CLONE_operation_class_t operation_class,
const char * input_name,
const char * logfile_name,
UF_CLONE_gen_log_opts_p_t options
)
| UF_CLONE_operation_class_t | operation_class | Input(输入) | class of operation to execute dryrun for |
| const char * | input_name | Input(输入) | input assembly |
| const char * | logfile_name | Input(输入) | name of log file to be generated |
| UF_CLONE_gen_log_opts_p_t | options | Input(输入) | options to apply to dryrun operation |
UF_CLONE_execute_log_file (查看源代码)
定义在: uf_clone.h
概述
This routine receives the name of a log file and an operation class performs
a clone operation using the log-file to specify the assemblies to clone and
to supply the action and naming operations for the clone operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_execute_log_file
(
UF_CLONE_operation_class_t operation_class,
const char * logfile_name,
UF_CLONE_ex_log_opts_p_t options
)
UF_CLONE_free_validation_options (查看源代码)
定义在: uf_clone.h
概述
This routine returns the default validation related options
环境
内部和外部
参见
历史
Originally released in V5.0
需要许可证(S)
assemblies
int UF_CLONE_free_validation_options
(
UF_CLONE_validation_opts_p_t validation_options
)
UF_CLONE_generate_report (查看源代码)
定义在: uf_clone.h
概述
This routine calls the report callbacks for each part in the
clone operation, possibly multiple times, as follows:
call the begin occurrences report callback.
For each root part, call the report callback pre-order depth
first on the components
call the begin non-occurrences report callback
Then call the report callback for name-only references, and
non-masters that have assigned output names, in an undefined
order
call the end report callback.
For Interactive NX a default callback is registered for
these to generate a report to the listing window. For
non-interactive NX no default callback is registered.
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_generate_report
(
void
)
UF_CLONE_init_log_file_failure (查看源代码)
定义在: uf_clone.h
概述
This routine initialises a logfile_failures structure. It should be called
before passing the structure to UF_CLONE_load_logfile
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_init_log_file_failure
(
UF_CLONE_log_file_failure_p_t logfile_failures
)
UF_CLONE_init_naming_failures (查看源代码)
定义在: uf_clone.h
概述
This routine initialises a naming failures structure. It should be called
before passing the structure to UF_CLONE_apply_defaults or
UF_CLONE_perform_clone
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_init_naming_failures
(
UF_CLONE_naming_failures_p_t failures
)
UF_CLONE_initialise (查看源代码)
定义在: uf_clone.h
概述
This routine initialises a clone operation. If a clone
operation has already been started this routine will return
UF_CLONE_err_active.
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_initialise
(
UF_CLONE_operation_class_t operation_class
)
UF_CLONE_iterate (查看源代码)
定义在: uf_clone.h
概述
This routine returns the name of the next part in an iteration, or NULL if
there are no more. If the end of the iteration is reached, the iteration will
have been terminated. To terminate an iteration before reaching the end, call
UF_CLONE_stop_iteration()
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_iterate
(
char * * part_name
)
| char * * | part_name | Output to be freed 输出并释放 | The name of a part in the current clone operation; for native, or import, an O/S filename; in NX Manager or for export, a CLI name |
UF_CLONE_load_logfile (查看源代码)
定义在: uf_clone.h
概述
This routine reads the specified log file and applies the data in it to the
current operation.
A log file contains <keyword> <value> pairs, in a defaults section, followed
by a sequence of Part: sections. See the Assembly Modelling User Manual or the
NX Manager User Manual for a description of how to generate log-files
automatically during a clone operation, and of their structure.
Part sections with an action will be added to the clone operation if not
already present. Part sections without an action will be added as NameOnly
references if not already present.
If any naming failures occur during loading the log file, these will be
reported via the naming_failures output argument (which should have been
initialised via a call to UF_CLONE_init_naming_failures) and
UF_CLONE_err_naming_failures returned. If the logfile is invalid,
UF_CLONE_err_invalid_logfile will be returned, and details of the problem
will be placed in the logfile_failure output argument (which should be
initialised by a call to UF_CLONE_init_log_file_failure).
If processing the log file causes new assemblies to be loaded, then any errors
while loading the assembly (parts not found, or warnings about out of sync
BVRs) will be reported through the load_status output argument.
If both naming failures and load failures occur, it is not defined which error
code the return value of the function will be - if you wish to report both
you should check the n_failures member of the naming_failures structure and
the failed member of the load_status structure to see if errors have occurred
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_load_logfile
(
const char * log_file_name,
UF_CLONE_naming_failures_p_t naming_failures,
UF_CLONE_log_file_failure_p_t logfile_failure,
UF_PART_load_status_p_t load_status
)
UF_CLONE_part_under_specified (查看源代码)
定义在: uf_clone.h
概述
This routine returns a logical indicating whether the part in question is
lacking necessary information. After a successful call to
UF_CLONE_apply_defaults this should be true for no parts in the operation.
It should not be necessary to call this function during an
operation, but it might be useful in order to give feedback to the
user, for example a notify callback registered against
UF_CLONE_beg_apply_defs_cb might iterate the parts in the clone
calling this function in order to count those parts which need
defaults applying, (since defaults application can take some time
for an NX Manager clone or import, where accesses to the database are
required to fill in values)
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_part_under_specified
(
const char * part_name,
logical * is_under_specified
)
| const char * | part_name | Input(输入) | name of component |
| logical * | is_under_specified | Output(输出) | true if node is underspecified, false otherwise |
UF_CLONE_perform_clone (查看源代码)
定义在: uf_clone.h
概述
This routine performs the clone, if necessary completing defaults application
first. Defaults application may generate naming rule failures, in which case
the clone will not be performed, the failures reported through the
naming_failures argument, and UF_CLONE_err_naming_failures will be returned
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_perform_clone
(
UF_CLONE_naming_failures_p_t naming_failures
)
UF_CLONE_register_cvt_callback (查看源代码)
定义在: uf_clone.h
概述
This routine registers a callback which will be called when the clone operation
needs a string value for a piece of information, for example a user name, an
associated file directory or an item type. The convert callback list will be
called in order before other default behaviours are applied.
If a callback of the same name is already registered at this callback point,
then it will be removed before the function supplied is registered. Names are
case independent.
The relative_callback and before_relative arguments can be used to control
where the supplied callback function is placed in the list.
If the function returns UF_CLONE_use_supplied, then the callback function
should have filled in its answer argument with the needed information. Callback
functions later in the list will not be called.
If the function returns UF_CLONE_not_converted then the next function in the
callback list will be called, until the list runs out, at which point the
default behaviour will be applied
If the function returns UF_CLONE_no_conversion, then no further callback
functions in the list will be called, and the default behaviour will be applied.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_register_cvt_callback
(
UF_CLONE_convert_cb_t cb,
UF_CLONE_convert_callback_t callback,
char * name,
char * description,
char * relative_callback,
logical before_or_after_relative
)
| UF_CLONE_convert_cb_t | cb | Input(输入) | callback point at which to call function being registered |
| UF_CLONE_convert_callback_t | callback | Input(输入) | function pointer of the callback function |
| char * (字符型指针) | name | Input(输入) | the name of this callback - should be unique to this callback point |
| char * (字符型指针) | description | Input(输入) | A description of the callback's function |
| char * (字符型指针) | relative_callback | Input(输入) | The name of a callback to position this one relative to, can be NULL, meaning the entire list of callbacks it this point |
| logical | before_or_after_relative | Input(输入) | Whether this callback should be placed before the relative callback (if true) or after it (if false). If the relative callback is null, true places the new callback at the beginning of the list, false at the end |
UF_CLONE_register_ntfy_callback (查看源代码)
定义在: uf_clone.h
概述
This routine registers a callback function to be called at the
notify callback points specified by the cb argument. The name
argument is used to identify the callback for later removal, or
insertion of other callback functions before or after this
function in the callback list. The name should therefore be
unique (for this particular callback point). It is recommended
that the name should be prefixed with a site specific
code. Some callbacks are registered by NX itself, and
the names of these all begin with "UGS". Names are considered
to be case independent- i.e. "UGS NOTIFY" is the same as "UGS
Notify"
If a callback of the same name is already registered at this
call back point, then it will be removed before the function
supplied is registered.
The Clone operation will call these callbacks in the order in
which they are present in the list at the appropriate point in
the clone operation. The callback function should generally
return UF_CLONE_continue. Calling further callbacks in the list
may be prevented by returning UF_CLONE_cut.
Most of the notify callback points have begin and end
callbacks: begin (..._beg_...) callbacks will be called before
an operation is about to be performed, allowing a callback to
check and forbid it, or perform necessary pre-actions; end
callbacks will be called after an operation has completed
succesfully, allowing a callback to perform necessary
post-actions. Note the end callback corresponding to a begin
callback may not be called if the operation in question fails
for some reason.
It is possible to specify that the supplied callback should be
placed before or after another named callback using the
relative_callback and before_relative arguments. If the
specified relative callback is not present, the function will
return the error UF_CLONE_err_no_relative_cb and place the
callback being registered at the beginning or end of the
callback list depending on the value of the before_relative
flag.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_register_ntfy_callback
(
UF_CLONE_notify_cb_t cb,
UF_CLONE_notify_callback_t callback,
const char * name,
const char * description,
const char * relative_callback,
logical before_relative
)
| UF_CLONE_notify_cb_t | cb | Input(输入) | callback point at which to call function being registered |
| UF_CLONE_notify_callback_t | callback | Input(输入) | function pointer of the callback function |
| const char * | name | Input(输入) | the name of this callback - should be unique to this callback point |
| const char * | description | Input(输入) | A description of the callback's function, for information only |
| const char * | relative_callback | Input(输入) | The name of a callback to position this one relative to, can be NULL, meaning the entire list of callbacks at this point. |
| logical | before_relative | Input(输入) | Whether this callback should be placed before the relative callback (if true) or after it (if false). If the relative callback is NULL or not present, true places the new callback at the beginning of the list, after at the end |
UF_CLONE_remove_cvt_callback (查看源代码)
定义在: uf_clone.h
概述
This routine removes the callback of the specified name from the given callback
list and returns a pointer to the function that was registered under that name.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_remove_cvt_callback
(
UF_CLONE_convert_cb_t cb,
const char * name,
UF_CLONE_convert_callback_t * callback_removed
)
| UF_CLONE_convert_cb_t | cb | Input(输入) | callback point from which to remove function |
| const char * | name | Input(输入) | name of callback to remove |
| UF_CLONE_convert_callback_t * | callback_removed | Output(输出) | the function that was removed, so you can reinstall it if desired may be NULL if no callback of that name was registered |
UF_CLONE_remove_ntfy_callback (查看源代码)
定义在: uf_clone.h
概述
This routine removes the callback of the specified name from
the given callback list and returns a pointer to the function
that was registered under that name.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_remove_ntfy_callback
(
UF_CLONE_notify_cb_t cb,
char * name,
UF_CLONE_notify_callback_t * callback_removed
)
| UF_CLONE_notify_cb_t | cb | Input(输入) | callback point from which to remove function |
| char * (字符型指针) | name | Input(输入) | name of callback to remove |
| UF_CLONE_notify_callback_t * | callback_removed | Output(输出) | the function that was removed, so you can reinstall it if desired, may be NULL if no callback of that name was registered at the specified callback point |
UF_CLONE_reset_to_default (查看源代码)
定义在: uf_clone.h
概述
This routine Resets the state of the current clone operation so that no parts
have exceptions or defaults applied to them, but leaving all the parts already
in the clone operation present.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_reset_to_default
(
void
)
UF_CLONE_set_action (查看源代码)
定义在: uf_clone.h
概述
This routine sets the action for the specified part to be the given action.
In a clone operation this may result in this action being cascaded to parent
parts (if it is a clone action) or child parts (if it is a retain action)
whose action is currently UF_CLONE_default_action. (See the section
"resolving conflicts" in the "Cloning Assemblies" chapter of the Assemblies
User Manual for details of this behaviour.)
If the action being applied is UF_CLONE_replace, you must specify the name of
the replacement part, otherwise this argument should be null.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_action
(
const char * input_part_name,
UF_CLONE_action_t action_type,
const char * replacement_part
)
| const char * | input_part_name | Input(输入) | name of the part for which the action is to be set, in NX Manager or for export a CLI form name, otherwise a native file name |
| UF_CLONE_action_t | action_type | Input(输入) | action to be applied |
| const char * | replacement_part | Input(输入) | name of the replacement part if action is UF_CLONE_replace, otherwise null in NX Manager or for export a CLI form name, otherwise a native file name |
UF_CLONE_set_assoc_file_copy (查看源代码)
定义在: uf_clone.h
概述
This routine sets a logical for the specified part in the current clone
operation indicating whether associated files should by default be copied
(for a clone), exported or imported in the current operation.
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_assoc_file_copy
(
const char * input_part_name,
logical copy_associated
)
| const char * | input_part_name | Input(输入) | part name of part in the current cloning operation, in NX Manager clone, or for an export operation, this should be a CLI name, otherwise a native O/S file name |
| logical | copy_associated | Input(输入) | whether to copy associated files for this part |
UF_CLONE_set_assoc_file_dir (查看源代码)
定义在: uf_clone.h
概述
This routine sets the directory in which associated files for the specified
part will be placed, if relative, then relative to the associated file root
directory
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_assoc_file_dir
(
const char * input_part_name,
const char * assoc_file_dir
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; for export, a CLI name |
| const char * | assoc_file_dir | Input(输入) | directory to be used, a native file specification, relative or absolute |
UF_CLONE_set_assoc_file_root_dir (查看源代码)
定义在: uf_clone.h
概述
This routine sets the root directory below which part specific associated file
directories will be placed (for export) or lookd for (for import)
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_assoc_file_root_dir
(
const char * root_directory
)
| const char * | root_directory | Input(输入) | root directory to be used, a native file specification |
UF_CLONE_set_attach_log_file (查看源代码)
定义在: uf_clone.h
概述
This routine sets the attach_log_file flag for the current operation.
It has no meaning outside of the clone import operation.
环境
内部和外部
历史
Originally released in NX5.1
需要许可证(S)
assemblies
int UF_CLONE_set_attach_log_file
(
logical attach_log_file
)
UF_CLONE_set_ci (查看源代码)
定义在: uf_clone.h
概述
This routine sets the checkin options to be used for the
specified part in the current import operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_ci
(
const char * input_part_name,
UF_CLONE_checkin_data_p_t checkin_data
)
| const char * | input_part_name | Input(输入) | the name of a part in the current import operation, a native O/S filename |
| UF_CLONE_checkin_data_p_t | checkin_data | Input(输入) | the checkin options to be applied |
UF_CLONE_set_ci_comment_checking (查看源代码)
定义在: uf_clone.h
概述
This routine sets the comment checking behaviour on checkin for the
specified part.
返回
Return Code:
=0: success
>0: failure code
环境
Internal or External
历史
Originally released in v19.0
需要许可证(S)
assemblies
int UF_CLONE_set_ci_comment_checking
(
const char * input_part_name,
logical error_unless_comments_match,
const char * comment
)
| const char * | input_part_name | Input(输入) | The name of the part in the current export operation, a CLI name |
| logical | error_unless_comments_match | Input(输入) | Whether to report an error if the checkout comment does not match the given comment |
| const char * | comment | Input(输入) | string containing the comment to be checked |
UF_CLONE_set_co (查看源代码)
定义在: uf_clone.h
概述
This routine sets the checkout options to be used for the
specified part in the current export operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_co
(
const char * input_part_name,
UF_CLONE_checkout_data_p_t checkout_data
)
| const char * | input_part_name | Input(输入) | The name of the part in the current export operation, a CLI name |
| UF_CLONE_checkout_data_p_t | checkout_data | Input(输入) | checkout options to be applied |
UF_CLONE_set_def_action (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default action for the current clone operation, an
action inappropriate to the current operation will return an error.
UF_CLONE_replace may not be used as a default action.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_action
(
UF_CLONE_action_t action
)
| UF_CLONE_action_t | action | Input(输入) | any action except UF_CLONE_default_action and UF_CLONE_replace |
UF_CLONE_set_def_assoc_file_copy (查看源代码)
定义在: uf_clone.h
概述
This routine sets a logical in the current clone operation indicating whether
associated files should by default be copied (for a clone), exported or
imported in the current operation.
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_assoc_file_copy
(
logical copy_associated
)
| logical | copy_associated | Input(输入) | whether to copy associated files by default |
UF_CLONE_set_def_ci (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default checkin options to be used in the
current export operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_ci
(
UF_CLONE_checkin_data_p_t checkin_data
)
UF_CLONE_set_def_ci_comment_checking (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default comment checking behaviour on checkin for the
import operation
返回
Return Code:
=0: success
>0: failure code
环境
Internal or External
历史
Originally released in v19.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_ci_comment_checking
(
logical error_unless_comments_match,
const char * comment
)
| logical | error_unless_comments_match | Input(输入) | Whether to report an error if the checkout comment does not match the given comment |
| const char * | comment | Input(输入) | string containing the comment to be checked |
UF_CLONE_set_def_co (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default checkout options to be used for the current
export operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_co
(
UF_CLONE_checkout_data_p_t checkout_data
)
UF_CLONE_set_def_directory (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default directory that parts created during a native
clone or a clone based export will be placed in.
If this option is never set then the current directory will be used
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_directory
(
const char * directory_name
)
| const char * | directory_name | Input(输入) | directory to place created parts in |
UF_CLONE_set_def_folder (查看源代码)
定义在: uf_clone.h
概述
This routine sets the value of the default folder that parts generated during
a NX Manager clone or clone based import will be placed in.
The folder name should be specified as
<user-name>:[<containing-folder>:...]<folder-name>
e.g. "smith:Imported Parts:machinehead" or "smith:My Parts"
If this option is never set, the executing users "Newstuff"
folder will be used.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_folder
(
const char * folder_name
)
| const char * | folder_name | Input(输入) | The default folder to place parts in |
UF_CLONE_set_def_group (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default group that will be applied to Items,
ItemRevisions and Datasets created during this operation. If this is the empty
string, then the group under which the executing user is logged in will be used.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_group
(
const char * group
)
| const char * | group | Input(输入) | the group ownership which will be assigned by default to Items, ItemRevisions and datasets created by this clone operation |
UF_CLONE_set_def_item_type (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default PDM item type that will be used in this import
operation. See UF_CLONE_ask_item_type for details of how this will be applied
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_item_type
(
const char * item_type
)
| const char * | item_type | Input(输入) | item type to be used by default |
UF_CLONE_set_def_naming (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default naming technique for the current clone operation.
See UF_CLONE_ask_def_naming for details of how this will be applied.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_naming
(
UF_CLONE_naming_technique_t naming_technique
)
UF_CLONE_set_def_nm_copy (查看源代码)
定义在: uf_clone.h
概述
This routine sets the nonmaster copy option for the nonmaster types specified
in the input list. Each list entry contains:
nonmaster_type: the name of the nonmaster type to which the entry applies
copy: logical indicating whether it will be copied
next: pointer to next element in list, NULL to end list
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_nm_copy
(
UF_CLONE_copy_nm_opt_p_t copy_nonmaster_opts
)
UF_CLONE_set_def_owner (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default owner that will be applied to Items,
ItemRevisions and Datasets created during this operation. If this is the empty
string, then the user under which the executing user is logged in will be used.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_owner
(
const char * owner
)
| const char * | owner | Input(输入) | default owner that will be assigned to Items, ItemRevisions and Datasets created during this operation |
UF_CLONE_set_def_pdm_desc (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default description which will be applied during the
import operation. This description will be applied to newly created Items
and ItemRevisions for which the part being imported has not had its
description set by some other method (such as by having a user name applied,
or via a convert callback).
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_pdm_desc
(
const char * pdm_desc
)
| const char * | pdm_desc | Input(输入) | description to be applied by default |
UF_CLONE_set_def_pdm_name (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default name which will be applied during the import
operation. See UF_CLONE_ask_def_pdm_name for details of how this will be
applied.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_pdm_name
(
const char * pdm_name
)
| const char * | pdm_name | Input(输入) | the name to be applied |
UF_CLONE_set_def_validation_options (查看源代码)
定义在: uf_clone.h
概述
This routine sets the default validation related options
环境
内部和外部
参见
历史
Originally released in NX5.0
需要许可证(S)
assemblies
int UF_CLONE_set_def_validation_options
(
UF_CLONE_validation_opts_p_t validation_options
)
UF_CLONE_set_dryrun (查看源代码)
定义在: uf_clone.h
概述
This routine sets the dryrun flag for the current operation. See
UF_CLONE_ask_dryrun for details of how this behaves
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_dryrun
(
logical dryrun
)
| logical | dryrun | Input(输入) | true for a dryrun, false for the clone to actually take place |
UF_CLONE_set_family_treatment (查看源代码)
定义在: uf_clone.h
概述
This routine sets the treatment of Part Family Members by Clone.
UF_CLONE_treat_as_lost: family members are regarded as lost parts.
The operation will proceed.
UF_CLONE_strip_family_status: family members are imported/exported as
normal parts: i.e. if you import a part
family member, the original NX part remains
a part family member, but NX Manager part
is not.
UF_CLONE_give_error: the operation will return an error if it
encounters a part family member and will
not proceed.
环境
内部和外部
历史
Originally released in V18.0
需要许可证(S)
assemblies
int UF_CLONE_set_family_treatment
(
UF_CLONE_family_treatment_t treatment
)
UF_CLONE_set_group (查看源代码)
定义在: uf_clone.h
概述
This routine sets the group that will be applied to the Item, ItemRevision and
Dataset created if needed for this part in this operation. If this is the empty
string, then the group under which the executing user is logged in will be used.
If the Item, Itemrevision or dataset already exist then they will not be
affected.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_group
(
const char * input_part_name,
const char * group
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; in NX Manager or for export, a CLI name |
| const char * | group | Input(输入) | the group ownership which will be assigned to Items, ItemRevisions and datasets created for this part |
UF_CLONE_set_item_type (查看源代码)
定义在: uf_clone.h
概述
This routine sets the item type to be used for this part in the current
operation. See UF_CLONE_ask_item_type for details of how this will be applied
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_item_type
(
const char * input_part_name,
const char * item_type
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; in NX Manager or for export, a CLI name |
| const char * | item_type | Input(输入) | The item type that should be applied to the part |
UF_CLONE_set_logfile (查看源代码)
定义在: uf_clone.h
概述
This routine specified the name of the log-file to be used to record this
operation. If the value specified is NULL, no logfile will be written.
The log file will be attached as a named reference to any root
parts (whether input ot output) that are stored in the PDM.
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_logfile
(
const char * log_file_name
)
| const char * | log_file_name | Input(输入) | name of logfile to be written (an O/S file name, even in NX Manager) |
UF_CLONE_set_name_rule (查看源代码)
定义在: uf_clone.h
概述
This routine sets the name rule for the clone operation. If a previously
existing name rule has already been applied to any parts (via apply_defaults
or setting exceptions) then the new name rule will be applied to those parts;
any name rule applications which fail wil be reported via the name rule
failures argument and UF_CLONE_err_naming_failures will be returned
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_name_rule
(
UF_CLONE_name_rule_def_p_t name_rule,
UF_CLONE_naming_failures_p_t naming_failures
)
UF_CLONE_set_naming (查看源代码)
定义在: uf_clone.h
概述
This routine sets the naming technique to be applied to the specified part
in the current clone operation. If the naming technique is UF_CLONE_user_name,
then an output part name (the user name) must also be supplied, otherwise
this argument should be NULL;
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_naming
(
const char * input_part_name,
UF_CLONE_naming_technique_t naming_technique,
const char * output_part_name
)
| const char * | input_part_name | Input(输入) | part name of part in the current cloning operation, in NX Manager clone, or for an export operation , this should be an encoded name, otherwise a native O/S file name |
| UF_CLONE_naming_technique_t | naming_technique | Input(输入) | naming technique to be assigned to the specified part |
| const char * | output_part_name | Input(输入) | output part name to be set if naming_technique is UF_CLONE_user_name, otherwise NULL. In NX Manager clone, or for an import operation, this should be an encoded name, otherwise a native O/S file name |
UF_CLONE_set_nm_copy (查看源代码)
定义在: uf_clone.h
概述
This routine sets the nonmaster copy option for the nonmaster types specified
in the input list for the specified part.
Each list entry contains:
nonmaster_type: the name of the nonmaster type to which the entry applies
copy: logical indicating whether it will be copied
next: pointer to next element in list, NULL to end list
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_nm_copy
(
const char * input_part_name,
UF_CLONE_copy_nm_opt_p_t copy_nonmaster_opts
)
| const char * | input_part_name | Input(输入) | part name of part in the current cloning operation, in NX Manager clone, or for an export operation, this should be a CLI name, otherwise a native O/S file name |
| UF_CLONE_copy_nm_opt_p_t | copy_nonmaster_opts | Input(输入) | list of nonmaster copy options |
UF_CLONE_set_owner (查看源代码)
定义在: uf_clone.h
概述
This routine sets the owner that will be applied to the Item, ItemRevision and
Dataset created if needed for this part in this operation. If this is the
empty string, then the owner under which the executing user is logged in will
be used. If the Item, Itemrevision or dataset already exist then they will not
be affected.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_owner
(
const char * input_part_name,
const char * owner
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; in NX Manager or for export, a CLI name |
| const char * | owner | Input(输入) | the owner to be used when creating PDM data for this part |
UF_CLONE_set_pdm_desc (查看源代码)
定义在: uf_clone.h
概述
This routine sets the PDM description to be applied to the specified part in
the current operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_pdm_desc
(
const char * input_part_name,
const char * pdm_desc
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; in NX Manager or for export, a CLI name |
| const char * | pdm_desc | Input(输入) | the description to be applied |
UF_CLONE_set_pdm_name (查看源代码)
定义在: uf_clone.h
概述
This routine sets the PDM name to be applied to the specified part in the
current operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_set_pdm_name
(
const char * input_part_name,
const char * pdm_name
)
| const char * | input_part_name | Input(输入) | The name of a part in the current clone operation; for import, an O/S filename; in NX Manager or for export, a CLI name |
| const char * | pdm_name | Input(输入) | the name to be applied or the empty string |
UF_CLONE_set_propagate_actions (查看源代码)
定义在: uf_clone.h
概述
This routine sets the propagation behaviour for actions in an export operation (for Clone propagation is always on, and it
is not relevant to an import operation.
When propagation is on:
specifying an Exclude action for a part will cause all parts
it references that are not referenced by other non-excluded
parts to also have the Exclude action applied, and so on for their referenced parts
specifying an Overwrite or Use Existing action for a part will cause all parts
which reference it which currently have an Exclude action applied (directly or by default)
to have the same Overwrite or Use Existing action applied to them, and so on for their
referencing parts
返回
Return Code:
= 0 : success
UF_CLONE_err_invalid_operation : the current operation is not an export operation
> 0 : other failure code
环境
Internal or external
参见
UF_CLONE_set_def_action
: UF_CLONE_set_action
历史
Originally released in v19.0
需要许可证(S)
assemblies
int UF_CLONE_set_propagate_actions
(
logical propagate_actions
)
| logical | propagate_actions | Input(输入) | whether to propagate actions in this export operation |
UF_CLONE_set_rev_up (查看源代码)
定义在: uf_clone.h
概述
This routine returns the rev_up flag for the current operation. It has no
meaning outside of the clone import operation.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
assemblies
int UF_CLONE_set_rev_up
(
logical rev_up
)
UF_CLONE_set_validation_abort_option (查看源代码)
定义在: uf_clone.h
概述
This routine sets the global validation abort options
环境
内部和外部
参见
历史
Originally released in NX5.0
需要许可证(S)
assemblies
int UF_CLONE_set_validation_abort_option
(
logical abort_import
)
| logical | abort_import | Input(输入) | whether to abort part import when validation failed |
UF_CLONE_set_validation_options (查看源代码)
定义在: uf_clone.h
概述
This routine sets the validation option for for the specified part.
环境
内部和外部
参见
历史
Originally released in V5.0
需要许可证(S)
assemblies
int UF_CLONE_set_validation_options
(
const char * input_part_name,
UF_CLONE_validation_opts_p_t validation_options
)
| const char * | input_part_name | Input(输入) | Part name of part in the current cloning operation. It is a native O/S file name. Only relevant for import operation in an NX Manager environment. |
| UF_CLONE_validation_opts_p_t | validation_options | Input(输入) | validation options |
UF_CLONE_start_iteration (查看源代码)
定义在: uf_clone.h
概述
This routine initialises an iteration over the parts currently in the clone
operation. While an iteration is in progress, parts or assemblies should not
be added to the clone operation, or the iterator's behaviour is undefined,
functions which may add parts to the operation will therefore return
UF_CLONE_err_iterator_active.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_start_iteration
(
void
)
UF_CLONE_stop_iteration (查看源代码)
定义在: uf_clone.h
概述
This routine stops an iteration. It is only necessary to call this routine if
an iteration is to be stopped before all parts have been iterated over
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_stop_iteration
(
void
)
UF_CLONE_terminate (查看源代码)
定义在: uf_clone.h
概述
This routine terminates the current clone operation if there is
one, returns no error if there is not
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_terminate
(
void
)
UF_CLONE_unapply_defaults (查看源代码)
定义在: uf_clone.h
概述
This routine removes previously applied defaults, but leaves
exceptions which have been specified intact. Naming failures
may occur if a registered notify callback forbids the
operation.
环境
内部和外部
参见
历史
Originally released in V16.0
需要许可证(S)
assemblies
int UF_CLONE_unapply_defaults
(
UF_CLONE_naming_failures_p_t naming_failures
)
| UF_CLONE_naming_failures_p_t | naming_failures | Input / Output | Pointer to a naming failures structure. If a naming failure occurs the return code will be UF_CLONE_err_naming_failures and this structure will be filled in |