UF_KF_add_search_library (查看源代码)
 
定义在: uf_kf.h
 
概述
Add a path to the search path for classes.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_add_search_library
(
const char * path_name
)
const char *path_nameInput(输入)Path name of directory that contains the
.dfa files. This will be added to the
current search path for .dfa files.

 


 
UF_KF_adopt_nx_objects (查看源代码)
 
定义在: uf_kf.h
 
概述
Adopt NX objects into the Knowledge Fusion world

If NX classes are enabled, then an you can determine which type of instance you
will adopt by using the nx_type argument. If nx_type is set to TRUE, then you will
adopt an NX instance. If nx_type is set to false, then you will adopt an NX instance.

However, if NX classes are disabled, then you can only adopt NX instances, regardless
of the setting of nx_type.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

参见
UF_KF_set_nx_classes_enabled
UF_KF_ask_nx_classes_enabled
UF_KF_adopt_ug_object

历史
released in NX5.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_adopt_nx_objects
(
tag_t * ug_objects,
int number_of_objects,
logical nx_type,
UF_KF_instance_p_t * * instances
)
tag_t * (tag_t型的指针)ug_objectsInput(输入)array of tags of NX objects
to be adopted into Fusion
int (整数型)number_of_objectsInput(输入)number of objects in the
above array
logicalnx_typeInput(输入)= TRUE - adopt as NX instance object
= FALSE - adopt as NX instance object
UF_KF_instance_p_t * *instancesOutput to be freed
输出并释放
array of adopted instances.
Free with UF_free.

 


 
UF_KF_adopt_ug_objects (查看源代码)
 
定义在: uf_kf.h
 
概述
Adopt NX objects into the Knowledge Fusion world

If NX classes are enabled, then an instance of an NX object will be adopted.
Otherwise, an instance of an NX object will be adopted.
For example, if you are adopting and instance of a block feature, you will
either get an NX_block or an NX_block instance.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

参见
UF_KF_set_nx_classes_enabled
UF_KF_ask_nx_classes_enabled

历史
Originally release in v18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_adopt_ug_objects
(
tag_t * ug_objects,
int number_of_objects,
UF_KF_instance_p_t * * instances
)
tag_t * (tag_t型的指针)ug_objectsInput(输入)array of tags of NX objects
to be adopted into Fusion
int (整数型)number_of_objectsInput(输入)number of objects in the
above array
UF_KF_instance_p_t * *instancesOutput to be freed
输出并释放
array of adopted instances.
Free with UF_free.

 


 
UF_KF_ask_all_classes (查看源代码)
 
定义在: uf_kf.h
 
概述
Return a sorted array of all classes currently known by NX KF.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

参见
UF_KF_ask_classes

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_all_classes
(
int * num_classes,
char * * * classes
)
int * (整数型指针)num_classesOutput(输出)Number of class names found
char * * *classesOutput to be freed
输出并释放
num_classes Array of class names.
Free with UF_free_string_array.

 


 
UF_KF_ask_ancestor_classes (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the component classes of a given class.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_ancestor_classes
(
const char * class_name,
int * n_ancestors,
char * * * ancestor_names
)
const char *class_nameInput(输入)name of the class for which components
are asked
int * (整数型指针)n_ancestorsOutput(输出)Number of components found in the class
char * * *ancestor_namesOutput to be freed
输出并释放
Array of component names found in the class.
Free with UF_free_string_array.

 


 
UF_KF_ask_base_unit_of_measure (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the base unit of a measure. For example, "mm" will be returned for "Length"
in a metric part. The empty string will be returned for an invalid unit.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in NX301
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_base_unit_of_measure
(
const char * measure,
const char * * base_unit
)
const char *measureInput(输入)Measure of value
const char * *base_unitOutput(输出)Base unit of measure

 


 
UF_KF_ask_boolean (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of a Boolean Knowledge Fusion value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_boolean
(
UF_KF_value_p_t value,
logical * data
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
logical *dataOutput(输出)Data of value

 


 
UF_KF_ask_classes (查看源代码)
 
定义在: uf_kf.h
 
概述
Return a sorted array of classes. Use the filter option to filter the type
of classes desired.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

参见
UF_KF_ask_all_classes

历史
Originally released in v18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_classes
(
UF_KF_class_type_t filter_choice,
int * num_classes,
char * * * classes
)
UF_KF_class_type_tfilter_choiceInput(输入)filter choice:
UF_KF_ASK_USER_ONLY
UF_KF_ASK_SYSTEM_ONLY
UF_KF_ASK_ALL
int * (整数型指针)num_classesOutput(输出)Number of class names found
char * * *classesOutput to be freed
输出并释放
Array of class names.
Free with UF_free_string_array

 


 
UF_KF_ask_default_formula (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the default formula for a rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_default_formula
(
UF_KF_rule_p_t rule,
char * * formula
)
UF_KF_rule_p_truleInput(输入)Rule object
char * *formulaOutput to be freed
输出并释放
Text of formula. May be NULL if no default exists.
Free with UF_free.

 


 
UF_KF_ask_error (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of an Error from Knowledge Fusion structure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_error
(
UF_KF_value_p_t value,
int * error
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
int * (整数型指针)errorOutput(输出)Data of value

 


 
UF_KF_ask_frame (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of a Frame Knowledge Fusion structure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V18
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_frame
(
UF_KF_value_p_t value,
double data [ 16 ]
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
double (实数型)data [ 16 ] Output(输出)Data of value.
A UF_MTX4 transformation matrix.
All the UF_MTX4 functions apply.

 


 
UF_KF_ask_fusion_object (查看源代码)
 
定义在: uf_kf.h
 
概述
Get a fusion object from an NX object. Returns a NULL_TAG when the NX object
has no associated Knowledge Fusion instance object.

Note: For some Knowledge Fusion instance types the associated NX object
will be a feature not an object. For example, to get a ug_block type
Knowledge Fusion instance, you would need to pass the BLOCK feature's tag_t
not the resulting UF_solid_type/UF_solid_body_subtype object's tag_t.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_fusion_object
(
tag_t ug_object,
UF_KF_instance_p_t * instance
)
tag_t (tag_t类型)ug_objectInput(输入)NX object
UF_KF_instance_p_t *instanceOutput(输出)Knowledge Fusion instance object

 


 
UF_KF_ask_instance (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of an Instance Knowledge Fusion structure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_instance
(
UF_KF_value_p_t value,
UF_KF_instance_p_t * instance
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
UF_KF_instance_p_t *instanceOutput(输出)Data of value

 


 
UF_KF_ask_instance_class (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the class for an instance.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_instance_class
(
const char * name_chain,
char * * class_name
)
const char *name_chainInput(输入)Reference chain to instance
char * *class_nameOutput to be freed
输出并释放
Name of the class that this instance uses.
Free with UF_free

 


 
UF_KF_ask_instance_of_args (查看源代码)
 
定义在: uf_kf.h
 
概述
Return the calling instance of Defun.

返回
0 if function succeeds, otherwise
error code (non-zero).

环境
Internal and External

历史
Released in V18.1
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_instance_of_args
(
UF_KF_value_p_t * values,
int n_values,
UF_KF_instance_p_t * instance
)
UF_KF_value_p_t *valuesInput(输入)Argument values of Defun
int (整数型)n_valuesInput(输入)Number of argument values
UF_KF_instance_p_t *instanceOutput(输出)Instance calling Defun

 


 
UF_KF_ask_integer (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of a Integer Knowledge Fusion structure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_integer
(
UF_KF_value_p_t value,
int * data
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
int * (整数型指针)dataOutput(输出)Data of value

 


 
UF_KF_ask_list (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of a List Knowledge Fusion structure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_list
(
UF_KF_value_p_t value,
UF_KF_list_p_t * list
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
UF_KF_list_p_t *listOutput to be freed
输出并释放
Knowledge Fusion list
Free with UF_KF_free_list_object_contents.

 


 
UF_KF_ask_list_count (查看源代码)
 
定义在: uf_kf.h
 
概述
Count the number of elements in a list

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

参见
UF_KF_ask_list_item

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_list_count
(
UF_KF_list_p_t list,
int * count
)
UF_KF_list_p_tlistInput(输入)Knowledge Fusion list
int * (整数型指针)countOutput(输出)Number of elements in the list

 


 
UF_KF_ask_list_item (查看源代码)
 
定义在: uf_kf.h
 
概述
Ask the value of an item in a list object.

返回
int - Error code indicating success (0) or failure (<>0)

环境
Internal and External

参见
UF_KF_ask_list_count

历史
Originally release in v18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_list_item
(
UF_KF_list_p_t list,
int index,
UF_KF_value_p_t * value
)
UF_KF_list_p_tlistInput(输入)Knowledge Fusion list
int (整数型)indexInput(输入)Index of item in the list.
(1 is the first item)
UF_KF_value_p_t *valueOutput to be freed
输出并释放
The value of the list item.
Free with UF_KF_free_rule_value.

 


 
UF_KF_ask_list_of_instance (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the list object from an instance that is a list datatype.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally release in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_list_of_instance
(
const char * name_chain,
UF_KF_value_p_t * list_object
)
const char *name_chainInput(输入)Reference chain to instance
UF_KF_value_p_t *list_objectOutput to be freed
输出并释放
The list value.
Free with UF_KF_free_rule_value.

 


 
UF_KF_ask_measure_of_value (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the measure of a Number Knowledge Fusion structure. This function returns
strings like "Length", "Area" and "Volume". The empty string is returned for
number values that do not have a measure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in NX301
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_measure_of_value
(
UF_KF_value_p_t value,
const char * * measure
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion data structure
const char * *measureOutput(输出)Measure of value

 


 
UF_KF_ask_name (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of a Name Knowledge Fusion value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V18
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_name
(
UF_KF_value_p_t value,
unsigned int * data
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
unsigned int *dataOutput(输出)Data of value

 


 
UF_KF_ask_name_chain_of_instance (查看源代码)
 
定义在: uf_kf.h
 
概述
Ask the name chain of a Knowledge Fusion instance

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally release in v18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_name_chain_of_instance
(
UF_KF_instance_p_t instance,
const char * * name_chain
)
UF_KF_instance_p_tinstanceInput(输入)Knowledge Fusion instance
const char * *name_chainOutput(输出)Name chain of instance. Do not free.

 


 
UF_KF_ask_name_of_string (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the name representation in KF of an input string. For example determine the
name in KF for the boolean name "Unite".

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

参见
UF_KF_ask_string_of_name
UF_KF_ask_name
UF_KF_make_name

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_name_of_string
(
const char * string,
unsigned int * name
)
const char *stringInput(输入)Name string
unsigned int *nameOutput(输出)Knowledge Fusion name of the string

 


 
UF_KF_ask_number (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of a Number Knowledge Fusion structure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_number
(
UF_KF_value_p_t value,
double * data
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion data structure
double * (实数型指针)dataOutput(输出)Data of value

 


 
UF_KF_ask_nx_classes_enabled (查看源代码)
 
定义在: uf_kf.h
 
概述
Return true if NX classes are enabled for the Create Child rule dialog and for
adoption in the specified part.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in NX400
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_nx_classes_enabled
(
const tag_t object_in_part,
logical * nx_classes_enabled
)
const tag_tobject_in_partInput(输入)Tag of object in part
logical *nx_classes_enabledOutput(输出)True --> nx classes enabled

 


 
UF_KF_ask_parameter_formula (查看源代码)
 
定义在: uf_kf.h
 
概述
Get formula of a given parameter rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_parameter_formula
(
const char * name_chain,
const char * param_name,
char * * formula
)
const char *name_chainInput(输入)Reference chain to instance
const char *param_nameInput(输入)Name of the parameter
char * *formulaOutput to be freed
输出并释放
Formula for the rule.
Free with UF_free.

 


 
UF_KF_ask_parameter_type (查看源代码)
 
定义在: uf_kf.h
 
概述
Get datatype of a given parameter rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_parameter_type
(
const char * name_chain,
const char * param_name,
char * * data_type
)
const char *name_chainInput(输入)Reference chain to instance
const char *param_nameInput(输入)Name of the parameter
char * *data_typeOutput to be freed
输出并释放
Data type of the parameter.
Free with UF_free.

 


 
UF_KF_ask_parameters (查看源代码)
 
定义在: uf_kf.h
 
概述
Get list of parameters that have been specified for an instance. The
formula for each individual parameter can be obtained by calling
UF_KF_ask_parameter_formula.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_parameters
(
const char * name_chain,
char * * * parameter_names,
int * num_params
)
const char *name_chainInput(输入)Reference chain to instance
char * * *parameter_namesOutput to be freed
输出并释放
Array of parameter names that were specified.
Free with UF_free_string_array.
int * (整数型指针)num_paramsOutput(输出)Number of parameters found

 


 
UF_KF_ask_point (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of a Point Knowledge Fusion structure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_point
(
UF_KF_value_p_t value,
double data [ 3 ]
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
double (实数型)data [ 3 ] Output(输出)Data of value

 


 
UF_KF_ask_rule_name (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the name of a rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_rule_name
(
UF_KF_rule_p_t rule,
char * * rule_name
)
UF_KF_rule_p_truleInput(输入)Rule object
char * *rule_nameOutput to be freed
输出并释放
Rule name string.
Free with UF_free.

 


 
UF_KF_ask_rule_of_instance (查看源代码)
 
定义在: uf_kf.h
 
概述
Find the rule object of a given name in an instance.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_rule_of_instance
(
const char * name_chain,
const char * rule_name,
UF_KF_rule_p_t * rule
)
const char *name_chainInput(输入)Reference chain to instance
const char *rule_nameInput(输入)Name of rule
UF_KF_rule_p_t *ruleOutput(输出)Found rule object

 


 
UF_KF_ask_rule_of_name (查看源代码)
 
定义在: uf_kf.h
 
概述
Find the rule object for a name in a class.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_rule_of_name
(
const char * class_name,
const char * rule_name,
UF_KF_rule_p_t * rule
)
const char *class_nameInput(输入)Name of class to find rule in.
const char *rule_nameInput(输入)Name of rule to find.
UF_KF_rule_p_t *ruleOutput(输出)Found rule object.

 


 
UF_KF_ask_rule_text_of_referencing_object (查看源代码)
 
定义在: uf_kf.h
 
概述
Return rule text for referencing an NX object in Knowledge Fusion.

返回
0 if function succeeds, otherwise
error code (non-zero).

环境
Internal and External

历史
Released in V18
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_rule_text_of_referencing_object
(
tag_t ug_object_tag,
char * * rule_text
)
tag_t (tag_t类型)ug_object_tagInput(输入)Tag of the NX object
char * *rule_textOutput to be freed
输出并释放
Rule text to be used in Knowledge Fusion.
Free with UF_free.

 


 
UF_KF_ask_rule_type (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the data type of a rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_rule_type
(
UF_KF_rule_p_t rule,
char * * rule_type
)
UF_KF_rule_p_truleInput(输入)Rule object
char * *rule_typeOutput to be freed
输出并释放
Rule type string.
Free with UF_free.

 


 
UF_KF_ask_rule_types (查看源代码)
 
定义在: uf_kf.h
 
概述
Get list of data types that rules can be.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_rule_types
(
int * num_types,
char * * * data_types
)
int * (整数型指针)num_typesOutput(输出)Number of rule types existing
char * * *data_typesOutput to be freed
输出并释放
Array of data type names.
Free with UF_free_string_array.

 


 
UF_KF_ask_rules (查看源代码)
 
定义在: uf_kf.h
 
概述
get the names of all the rules under a given instance.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally release in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_rules
(
const char * name_chain,
int * num_rules,
char * * * rules
)
const char *name_chainInput(输入)Reference chain of the instance
int * (整数型指针)num_rulesOutput(输出)Number of rules found for this instance
char * * *rulesOutput to be freed
输出并释放
Array of rules found under the instance.
Free with UF_free_string_array.

 


 
UF_KF_ask_rules_of_class (查看源代码)
 
定义在: uf_kf.h
 
概述
Get all the rules in a class.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_rules_of_class
(
const char * class_name,
int * num_rules,
UF_KF_rule_p_t * * rules
)
const char *class_nameInput(输入)name of the class of which rules are to be found
int * (整数型指针)num_rulesOutput(输出)Number of rules found in the class
UF_KF_rule_p_t * *rulesOutput to be freed
输出并释放
Array of rules found in the class.
Free with UF_free.

 


 
UF_KF_ask_string (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of a String Knowledge Fusion structure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_string
(
UF_KF_value_p_t value,
char * * string
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
char * *stringOutput(输出)Data of value. Do not free.

 


 
UF_KF_ask_string_of_name (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the string representation of a name in KF.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

参见
UF_KF_ask_name_of_string
UF_KF_ask_name
UF_KF_make_name

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_string_of_name
(
unsigned int name,
char * * string
)
unsigned intnameInput(输入)Knowledge Fusion name
char * *stringOutput to be freed
输出并释放
Name string.
Free with UF_free.

 


 
UF_KF_ask_tag (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of a Hostpointer Knowledge Fusion structure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_tag
(
UF_KF_value_p_t value,
tag_t * data
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
tag_t * (tag_t型的指针)dataOutput(输出)Data of value

 


 
UF_KF_ask_type (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the type of a Knowledge Fusion structure.

The supported types are defined in UF_KF_type_t

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_type
(
UF_KF_value_p_t data,
UF_KF_type_t * type
)
UF_KF_value_p_tdataInput(输入)Knowledge Fusion data structure
UF_KF_type_t *typeOutput(输出)Value type

 


 
UF_KF_ask_ug_object (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the NX object from a Knowledge Fusion object

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_ug_object
(
UF_KF_instance_p_t instance,
tag_t * ug_object
)
UF_KF_instance_p_tinstanceInput(输入)Knowledge Fusion instance structure
tag_t * (tag_t型的指针)ug_objectOutput(输出)NX object

 


 
UF_KF_ask_user (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of a User Knowledge Fusion structure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V18
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_user
(
UF_KF_value_p_t value,
void * * data
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
void * *dataOutput(输出)Data of value. Free if necessary.

 


 
UF_KF_ask_user_class_dir (查看源代码)
 
定义在: uf_kf.h
 
概述
Return the user class directory.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_user_class_dir
(
char * * dir
)
char * *dirOutput to be freed
输出并释放
User class directory path.
Free with UF_free.

 


 
UF_KF_ask_value_of_list_item (查看源代码)
 
定义在: uf_kf.h
 
概述
Ask the value of an item in a list object.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally release in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_value_of_list_item
(
UF_KF_value_p_t list_obj,
int list_index,
char * * value_str,
char * * datatype,
UF_KF_value_p_t * sub_list_obj
)
UF_KF_value_p_tlist_objInput(输入)List value
int (整数型)list_indexInput(输入)Index of item in the list.
(1 is the first item)
char * *value_strOutput to be freed
输出并释放
Text of item's value.
Free with UF_free.
char * *datatypeOutput to be freed
输出并释放
Data type of item.
Free with UF_free
UF_KF_value_p_t *sub_list_objOutput to be freed
输出并释放
If this item is a list value, then
this parameter contains the list value.
If this item is not a list value, then
this parameter will be NULL.
Free with UF_KF_free_rule_value.

 


 
UF_KF_ask_vector (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the value of a Vector Knowledge Fusion structure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_ask_vector
(
UF_KF_value_p_t value,
double data [ 3 ]
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion value
double (实数型)data [ 3 ] Output(输出)Data of value

 


 
UF_KF_count_list_items (查看源代码)
 
定义在: uf_kf.h
 
概述
Count the number of items in a list object.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally release in v17.0 will be obsoleted after v19 use
UF_KF_ask_list_count
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_count_list_items
(
UF_KF_list_p_t list,
int * n_items
)
UF_KF_list_p_tlistInput(输入)Knowledge Fusion list
int * (整数型指针)n_itemsOutput(输出)number of items in list object.

 


 
UF_KF_create_child_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Create or modify a child rule for a given instance. If the rule already
exists then replace the existing rule. The input parameters will be formatted
into an Knowledge Fusion rule as follows: "(rule_type) rule_name: rule_text;"
This routine should be used only to create/edit child rules. This
routine does not call UF_MODL_update so the user needs to. Note that child
rules can only be created on the "Root:"

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_create_child_rule
(
tag_t part_of_rule,
const char * name_chain,
const char * rule_name,
const char * child_class_name,
int num_parameters,
char * * parameter_names,
char * * parameter_rules,
char * * generated_name
)
tag_t (tag_t类型)part_of_ruleInput(输入)Part to create or modify rule in
const char *name_chainInput(输入)Reference chain of instance where rule will
be created or modified. If create
then must be "Root:" or NULL. Child
rules can only be created on the "Root:"
const char *rule_nameInput(输入)Name of rule.
const char *child_class_nameInput(输入)Class of instance
int (整数型)num_parametersInput(输入)number of parameters in the parameter_names
array
char * *parameter_namesInput(输入)num_parameters
array of names of parameters specified
by the user.
char * *parameter_rulesInput(输入)num_parameters
array of rules for the parameters whose
names are in "parameter_names" above.
Each rule may or may not have a trailing
semicolon.
char * *generated_nameOutput to be freed
输出并释放
name generated for the child object.
Currently always returns NULL.

 


 
UF_KF_create_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Create or modify a rule for a given instance. If the rule already exists
then replace the existing rule. The input parameters will be formatted
into an Knowledge Fusion rule as follows: "(rule_type) rule_name: rule_text;"
This routine can create/modify both child rules and attribite rules. This
routine calls UF_MODL_update for the user. UF_KF_create_rule_no_update()
does not. Note that child rules can only be created on the "Root:"

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_create_rule
(
const char * name_chain,
const char * rule_name,
const char * rule_type,
const char * rule_text,
const char * leading_comment
)
const char *name_chainInput(输入)Reference chain of instance where rule will
be created or modified
const char *rule_nameInput(输入)Name of rule
const char *rule_typeInput(输入)Type of rule. Type names may be obtained by
calling UF_KF_ask_rule_types. This can also
contain behavior flags, so "Number Parameter"
is a valid rule_type, as is "Child". If create
"Child" then must be "Root:" or NULL. Child
rules can only be created on the "Root:"
const char *rule_textInput(输入)Text for rule. For an instance rule, this must
must be enclosed in curly braces. For an
attribute rule, just the formula
const char *leading_commentInput(输入)Leading comment for rule. OPTIONAL-can be null.
If non-null, make sure that the string is preceded by
the pound sign '#' and followed by a new-line
character '\n'
Example: "#Leading Comment\n"

 


 
UF_KF_create_rule_no_update (查看源代码)
 
定义在: uf_kf.h
 
概述
Create or modify a rule for a given instance. If the rule already exists
then replace the existing rule. The input parameters will be formatted
into an Knowledge Fusion rule as follows: "(rule_type) rule_name: rule_text;"
This routine can create/modify both child rules and attribute rules. This
routine does not call UF_MODL_update so the user needs to. Note that child
rules can only be created on the "Root:"

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v18.01
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_create_rule_no_update
(
const char * name_chain,
const char * rule_name,
const char * rule_type,
const char * rule_text,
const char * leading_comment
)
const char *name_chainInput(输入)Reference chain of instance where rule will
be created or modified
const char *rule_nameInput(输入)Name of rule
const char *rule_typeInput(输入)Type of rule. Type names may be obtained by
calling UF_KF_ask_rule_types. This can also
contain behavior flags, so "Number Parameter"
is a valid rule_type, as is "Child". If create
"Child" then must be "Root:" or NULL. Child
rules can only be created on the "Root:"
const char *rule_textInput(输入)Text for rule. For an instance rule, this must
must be enclosed in curly braces. For a
attribute rule, just the formula
const char *leading_commentInput(输入)Leading comment for rule. OPTIONAL-can be null.

 


 
UF_KF_delete_class_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Delete a rule from a given class.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_delete_class_rule
(
const char * class_name,
const char * rule_name
)
const char *class_nameInput(输入)Class that rule is part of
const char *rule_nameInput(输入)Name of rule

 


 
UF_KF_delete_instance_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Delete a rule from a given instance.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_delete_instance_rule
(
const char * name_chain,
const char * rule_name
)
const char *name_chainInput(输入)Instance that rule is part of.
const char *rule_nameInput(输入)Name of rule

 


 
UF_KF_evaluate_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Force a rule to be evaluated.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_evaluate_rule
(
const char * name_chain,
UF_KF_value_p_t * value
)
const char *name_chainInput(输入)Reference chain for the rule
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Value of the rule after evaluation.
Free with UF_KF_free_rule_value

 


 
UF_KF_evaluate_rule_to_string (查看源代码)
 
定义在: uf_kf.h
 
概述
Force a rule to be evaluated and return the result as a printable string.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_evaluate_rule_to_string
(
const char * name_chain,
char * * value
)
const char *name_chainInput(输入)Reference chain to instance
char * *valueOutput to be freed
输出并释放
Value of the rule after evaluation.
Free with UF_free

 


 
UF_KF_free_list_object_contents (查看源代码)
 
定义在: uf_kf.h
 
概述
Free the contents of the list object returned from UF_KF_ask_list.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally release in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_free_list_object_contents
(
UF_KF_list_p_t list
)
UF_KF_list_p_tlistInput(输入)Knowledge Fusion list

 


 
UF_KF_free_rule_value (查看源代码)
 
定义在: uf_kf.h
 
概述
Free a value returned by UF_KF_evaluate_rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_free_rule_value
(
UF_KF_value_p_t value
)
UF_KF_value_p_tvalueInput(输入)value to free returned by UF_KF_evaluate_rule

 


 
UF_KF_init_part (查看源代码)
 
定义在: uf_kf.h
 
概述
Initialize a part class.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

参见
UF_KF_is_initialized

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_init_part
(
tag_t part
)
tag_t (tag_t类型)partInput(输入)Tag of the part to initialize

 


 
UF_KF_is_cached_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is a cached rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_cached_rule
(
UF_KF_rule_p_t rule,
logical * cached
)
UF_KF_rule_p_truleInput(输入)Rule object
logical *cachedOutput(输出)TRUE if the rule is a cached rule,
else FALSE

 


 
UF_KF_is_canonical_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is a canonical rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_canonical_rule
(
UF_KF_rule_p_t rule,
logical * canonical
)
UF_KF_rule_p_truleInput(输入)Rule object
logical *canonicalOutput(输出)TRUE if the rule is a canonical rule,
else FALSE

 


 
UF_KF_is_child_list_instance (查看源代码)
 
定义在: uf_kf.h
 
概述
Find out if the instance is a child list.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_child_list_instance
(
const char * name_chain,
logical * is_list_instance
)
const char *name_chainInput(输入)reference chain of instance
logical *is_list_instanceOutput(输出)TRUE if the instance is a child list,
else FALSE

 


 
UF_KF_is_child_list_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is a child list rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_child_list_rule
(
UF_KF_rule_p_t rule,
logical * is_child_list
)
UF_KF_rule_p_truleInput(输入)Rule object returned from
UF_KF_ask_rules_of_class
logical *is_child_listOutput(输出)TRUE if the rule is a child list
rule, else FALSE

 


 
UF_KF_is_child_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is a child rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_child_rule
(
UF_KF_rule_p_t rule,
logical * child
)
UF_KF_rule_p_truleInput(输入)Rule object
logical *childOutput(输出)TRUE if the rule is a child rule, else FALSE

 


 
UF_KF_is_dynamic (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is dynamic.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_dynamic
(
UF_KF_rule_p_t rule,
logical * dynamic
)
UF_KF_rule_p_truleInput(输入)Rule object
logical *dynamicOutput(输出)TRUE if the rule is dynamic, else FALSE

 


 
UF_KF_is_hidden_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is a hidden rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_hidden_rule
(
UF_KF_rule_p_t rule,
logical * hidden
)
UF_KF_rule_p_truleInput(输入)Rule object
logical *hiddenOutput(输出)TRUE if the rule is a hidden rule,
else FALSE

 


 
UF_KF_is_initialized (查看源代码)
 
定义在: uf_kf.h
 
概述
This routine will verify if KF is initialized in the part and its
availablilty. If initializing KF in the part succeeds then this function will
return TRUE.

返回
int - Error code indicating success (0) or failure (<>0)

环境
Internal and External

参见
UF_KF_init_part

历史
Originally released in v18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_initialized
(
logical * is_initialized
)
logical *is_initializedOutput(输出)TRUE if KF is initialized and is
available, else FALSE

 


 
UF_KF_is_local (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is local (defined on this class, not on an
ancestor).

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_local
(
const char * class_name,
UF_KF_rule_p_t rule,
logical * local
)
const char *class_nameInput(输入)The name of the class in question
UF_KF_rule_p_truleInput(输入)Rule object
logical *localOutput(输出)TRUE if the rule is a local rule,
else FALSE

 


 
UF_KF_is_lookup_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is a lookup rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_lookup_rule
(
UF_KF_rule_p_t rule,
logical * lookup
)
UF_KF_rule_p_truleInput(输入)Rule object
logical *lookupOutput(输出)TRUE if the rule is a lookup rule,
else FALSE

 


 
UF_KF_is_method (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is a method.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_method
(
UF_KF_rule_p_t rule,
logical * method
)
UF_KF_rule_p_truleInput(输入)Rule object
logical *methodOutput(输出)TRUE if the rule is a method, else FALSE

 


 
UF_KF_is_modifiable_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is a modifiable rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_modifiable_rule
(
UF_KF_rule_p_t rule,
logical * modifiable
)
UF_KF_rule_p_truleInput(输入)Rule object
logical *modifiableOutput(输出)TRUE if the rule is a modifiable rule,
else FALSE

 


 
UF_KF_is_parameter_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is a parameter rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_parameter_rule
(
UF_KF_rule_p_t rule,
logical * parameter
)
UF_KF_rule_p_truleInput(输入)Rule object
logical *parameterOutput(输出)TRUE if the rule is a parameter rule,
else FALSE

 


 
UF_KF_is_rule_computed (查看源代码)
 
定义在: uf_kf.h
 
概述
Ask whether a rule has been evaluated yet.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_rule_computed
(
const char * name_chain,
const char * rule_name,
logical * evaluated
)
const char *name_chainInput(输入)Reference chain to instance
const char *rule_nameInput(输入)Name of the rule
logical *evaluatedOutput(输出)TRUE if it has been evaluated, FALSE otherwise.

 


 
UF_KF_is_rule_in_class (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a given rule exists for a class.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_rule_in_class
(
const char * class_name,
const char * rule_name,
logical * rule_in_class
)
const char *class_nameInput(输入)Name of class to check for rule
const char *rule_nameInput(输入)Name of rule to check for
logical *rule_in_classOutput(输出)TRUE if the rule is in the class,
else FALSE

 


 
UF_KF_is_uncached_rule (查看源代码)
 
定义在: uf_kf.h
 
概述
Check whether a rule is an uncached rule.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_is_uncached_rule
(
UF_KF_rule_p_t rule,
logical * uncached
)
UF_KF_rule_p_truleInput(输入)Rule object
logical *uncachedOutput(输出)TRUE if the rule is an uncached rule,
else FALSE

 


 
UF_KF_list_pop (查看源代码)
 
定义在: uf_kf.h
 
概述
Get the next element from the list. This routine will return the next list
element, it will not remove the pop element from the list. You must remember
to free the head of the list since pop moves down the list to the tail.

UF_KF_ask_list ( list_value, &list ); // Get list
next = list; // Save next element
UF_KF_list_pop ( next, &value1, &next ); // Get value from list
UF_KF_list_pop ( next, &value2, &next ); // Get value from list
UF_KF_free_list_object_contents ( list ); // Free list when finished
// Use the newly created values ...
UF_KF_free_rule_value ( value1 ); // Free value when finished
UF_KF_free_rule_value ( value2 ); // Free value when finished

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_list_pop
(
UF_KF_list_p_t list,
UF_KF_value_p_t * element,
UF_KF_list_p_t * next
)
UF_KF_list_p_tlistInput(输入)Knowledge Fusion list
UF_KF_value_p_t *elementOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
UF_KF_list_p_t *nextOutput(输出)Next on Knowledge Fusion list

 


 
UF_KF_list_push (查看源代码)
 
定义在: uf_kf.h
 
概述
Put the element at the top of the list. This routine will return the new list
element, it will add the push element to the list. You must remember
to free the head of the list since push moves up the list to the new head.

UF_KF_ask_list ( list_value, &list ); // Get list
UF_KF_list_push ( list, value1, &list ); // Add value to list
UF_KF_list_push ( list, value2, &list ); // Add value to list
UF_KF_free_rule_value ( value1 ); // Free value when finished
UF_KF_free_rule_value ( value2 ); // Free value when finished
// Use the newly created list ...
UF_KF_free_list_object_contents ( list ); // Free list when finished

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_list_push
(
UF_KF_list_p_t list,
UF_KF_value_p_t element,
UF_KF_list_p_t * next
)
UF_KF_list_p_tlistInput(输入)Knowledge Fusion list.
UF_KF_value_p_telementInput(输入)Knowledge Fusion value to push onto the list
UF_KF_list_p_t *nextOutput(输出)Next on Knowledge Fusion list

 


 
UF_KF_make_boolean (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion Boolean value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_boolean
(
logical data,
UF_KF_value_p_t * value
)
logicaldataInput(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_make_error (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion Error value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_error
(
int data,
UF_KF_value_p_t * value
)
int (整数型)dataInput(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_make_frame (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion Frame value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V18
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_frame
(
double data [ 16 ] ,
UF_KF_value_p_t * value
)
double (实数型)data [ 16 ] Input(输入)Data of value.
A UF_MTX4 transformation matrix.
All the UF_MTX4 functions apply.
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_make_instance (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion instance value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_instance
(
UF_KF_instance_p_t data,
UF_KF_value_p_t * value
)
UF_KF_instance_p_tdataInput(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_make_integer (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion Integer value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_integer
(
int data,
UF_KF_value_p_t * value
)
int (整数型)dataInput(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_make_list (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion List value.

The input to create a list is a Knowledge Fusion value
which can be created using the following routines:
UF_KF_make_string,
UF_KF_make_tag,
UF_KF_make_vector,
UF_KF_make_point ...

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_list
(
UF_KF_list_p_t data,
UF_KF_value_p_t * value
)
UF_KF_list_p_tdataInput(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.

 


 
UF_KF_make_name (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion Name value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V18
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_name
(
int data,
UF_KF_value_p_t * value
)
int (整数型)dataInput(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_make_number (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion Number value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_number
(
double data,
UF_KF_value_p_t * value
)
double (实数型)dataInput(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_make_point (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion Point value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_point
(
double data [ 3 ] ,
UF_KF_value_p_t * value
)
double (实数型)data [ 3 ] Input(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_make_string (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion String value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_string
(
const char * data,
UF_KF_value_p_t * value
)
const char *dataInput(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_make_tag (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion Hostpointer value. This is a way to reference an
NX object without adopting it to Knowledge Fusion.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_tag
(
tag_t data,
UF_KF_value_p_t * value
)
tag_t (tag_t类型)dataInput(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_make_user (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion User value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V18
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_user
(
void * data,
UF_KF_value_p_t * value
)
void *dataInput(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_make_vector (查看源代码)
 
定义在: uf_kf.h
 
概述
Create a Knowledge Fusion Vector value.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in V17
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_make_vector
(
double data [ 3 ] ,
UF_KF_value_p_t * value
)
double (实数型)data [ 3 ] Input(输入)Data of value
UF_KF_value_p_t *valueOutput to be freed
输出并释放
Knowledge Fusion value.
Free with UF_KF_free_rule_value.
Do not free if being returned from a CFunc.

 


 
UF_KF_remove_all_rules (查看源代码)
 
定义在: uf_kf.h
 
概述
Remove all rules in the current part.

返回
0 if function succeeds, otherwise
error code (non-zero).

环境
Internal and External

历史
Released in NX204
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_remove_all_rules
(
void
)

 


 
UF_KF_remove_rule_only (查看源代码)
 
定义在: uf_kf.h
 
概述
Remove a dynamic child or attribute rule, but leave the geometry.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in NX 3.0.4
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_remove_rule_only
(
const char * name_chain,
const char * rule_name
)
const char *name_chainInput(输入)Instance that rule is part of.
const char *rule_nameInput(输入)Name of rule

 


 
UF_KF_revert (查看源代码)
 
定义在: uf_kf.h
 
概述
Re-read the Knowledge Fusion language description of all loaded classes from
the text files. The filenames are not needed, as the Knowledge Fusion search
rules are used to find them.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_revert
(
const char * class_name
)
const char *class_nameInput(输入)If it is not NULL, it is the class_name whose
design needs to reloaded. If it is NULL, all the
existing classes in the system need to reload.

 


 
UF_KF_set_measure_of_value (查看源代码)
 
定义在: uf_kf.h
 
概述
Set the measure of a Number Knowledge Fusion structure. This function accepts
strings like "Length", "Area" and "Volume". The empty string is accepted for
number values that do not have a measure.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in NX301
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_set_measure_of_value
(
UF_KF_value_p_t value,
const char * measure
)
UF_KF_value_p_tvalueInput(输入)Knowledge Fusion data structure
const char *measureInput(输入)Measure of value

 


 
UF_KF_set_nx_classes_enabled (查看源代码)
 
定义在: uf_kf.h
 
概述
If true then set NX classes enabled for the Create Child rule dialog and for
adoption in the specified part.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Released in NX400
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_set_nx_classes_enabled
(
const tag_t object_in_part,
logical nx_classes_enabled
)
const tag_tobject_in_partInput(输入)Tag of object in part
logicalnx_classes_enabledInput(输入)True --> nx classes enabled

 


 
UF_KF_set_user_class_dir (查看源代码)
 
定义在: uf_kf.h
 
概述
Set the user class dir.

返回
Return code :
= 0 : successful
> 0 : failing error number
< 0 : failing error number

环境
Internal and External

历史
Originally released in v17.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_set_user_class_dir
(
char * * new_dirs,
int num_dirs
)
char * *new_dirsInput(输入). Array of directories to set as user class dir
int (整数型)num_dirsInput(输入)Number of directories

 


 
UF_KF_UGMGR_ask_user_dfa_classes (查看源代码)
 
定义在: uf_kf_ugmgr.h
 
概述
This function gets the user defined KF classes stored in the Teamcenter Engineering database.
If there is more than one folder having the same name then all the KF classes
defined in those folders are returned.

环境
内部和外部

历史
Originally released in V18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_UGMGR_ask_user_dfa_classes
(
const char* folder_name,
char* * * user_dfa_classes,
int* num_classes
)
const char*folder_nameInput(输入)Name of the folder
char* * *user_dfa_classesOutput to be freed
输出并释放
list of KF classes in the
specified folder. The list
should be freed by calling
UF_free_string_array
int*num_classesOutput(输出)number of KF classes

 


 
UF_KF_UGMGR_ask_user_dfa_funcs (查看源代码)
 
定义在: uf_kf_ugmgr.h
 
概述
This function gets the user defined KF functions stored in the Teamcenter Engineering database.
If there is more than one folder having the same name then all the KF funcs
defined in those folders are returned.

环境
内部和外部

历史
Originally released in V18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_UGMGR_ask_user_dfa_funcs
(
const char* folder_name,
char* * * user_dfa_funcs,
int* num_funcs
)
const char*folder_nameInput(输入)Name of the folder
char* * *user_dfa_funcsOutput to be freed
输出并释放
list of KF functions file in the
specified folder. The list
should be freed by calling
UF_free_string_array
int*num_funcsOutput(输出)number of KF funcs

 


 
UF_KF_UGMGR_initialize_export (查看源代码)
 
定义在: uf_kf_ugmgr.h
 
概述
This function sets the options for export of DFA files in command line mode

环境
内部和外部

历史
Originally released in NX2
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_UGMGR_initialize_export
(
int option
)
int (整数型)optionInput(输入)Use UF_KF_UGMGR_EXPORT_DFA_IN_PART to export
DFA files in individual part
Use UF_KF_UGMGR_EXPORT_DFA_IN_ASSEMBLY to export
DFA files used by entire assembly

 


 
UF_KF_UGMGR_initialize_import (查看源代码)
 
定义在: uf_kf_ugmgr.h
 
概述
This function sets the options for import of DFA files in command line mode

环境
内部和外部

历史
Originally released in NX2
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_UGMGR_initialize_import
(
logical is_dfa_list
)
logicalis_dfa_listInput(输入)True if input is a file containing the names of files to import.
If true the value of the -part switch is a file containing a list of
DFA files to import (1 per line).
Otherwise the value of the -part switch is assumed to be the DFA file to import.

 


 
UF_KF_UGMGR_is_folder_exists (查看源代码)
 
定义在: uf_kf_ugmgr.h
 
概述
This function checks whether the specified folder exists in Teamcenter Engineering.

环境
内部和外部

历史
Originally released in V18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_UGMGR_is_folder_exists
(
const char* folder_name,
logical* folder_exists
)
const char*folder_nameInput(输入)Name of the folder to search for
in the Teamcenter Engineering Database.
logical*folder_existsOutput(输出)TRUE if exists, else FALSE

 


 
UF_KF_UGMGR_is_item_dfa_type (查看源代码)
 
定义在: uf_kf_ugmgr.h
 
概述
This function checks whether the item is DFA

环境
内部和外部

历史
Originally released in NX2
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_UGMGR_is_item_dfa_type
(
char* item_name,
logical* dfa_type
)
char*item_nameInput(输入)Item Name
logical*dfa_typeOutput(输出)TRUE = Item is a DFA else FALSE

 


 
UF_KF_UGMGR_is_user_dfa_class_exists (查看源代码)
 
定义在: uf_kf_ugmgr.h
 
概述
This function checks whether the specified KF class exists in the Teamcenter Engineering database.

环境
内部和外部

历史
Originally released in V18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_UGMGR_is_user_dfa_class_exists
(
const char* dfa_class_name,
logical* class_exists
)
const char*dfa_class_nameInput(输入)Name of the KF class to
search for
logical*class_existsOutput(输出)True if exists, else FALSE

 


 
UF_KF_UGMGR_is_user_dfa_func_exists (查看源代码)
 
定义在: uf_kf_ugmgr.h
 
概述
This function checks whether the specified KF function exists in the Teamcenter Engineering database.

环境
内部和外部

历史
Originally released in V18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_UGMGR_is_user_dfa_func_exists
(
const char* dfa_func_name,
logical* func_exists
)
const char*dfa_func_nameInput(输入)Name of the KF functions to
search for
logical*func_existsOutput(输出)True if exists, else FALSE

 


 
UF_KF_UGMGR_list_user_classes_referenced (查看源代码)
 
定义在: uf_kf_ugmgr.h
 
概述
This function gets all the user KF classes referenced in the part file.

环境
内部和外部

历史
Originally released in V18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_UGMGR_list_user_classes_referenced
(
tag_t part_tag,
char* * * user_classes_list,
int* num_classes
)
tag_t (tag_t类型)part_tagInput(输入)tag of the part
char* * *user_classes_listOutput to be freed
输出并释放
List of classes referenced
by the part specified. This
list has to be freed by calling
UF_free_string_array
int*num_classesOutput(输出)Number of KF classes referenced in
the part file

 


 
UF_KF_UGMGR_list_user_funcs_referenced (查看源代码)
 
定义在: uf_kf_ugmgr.h
 
概述
This function gets all the user KF funcs referenced in the part file.

This function always returns 0 functions as references to functions
are not maintained in Teamcenter.

环境
内部和外部

历史
Originally released in V18.0
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_KF_UGMGR_list_user_funcs_referenced
(
tag_t part_tag,
char* * * user_funcs_list,
int* num_funcs
)
tag_t (tag_t类型)part_tagInput(输入)tag of the part
char* * *user_funcs_listOutput to be freed
输出并释放
List of functions referenced
by the part specified. This
list has to be freed by calling
UF_free_string_array
int*num_funcsOutput(输出)Number of KF functions referenced in
the part file

 


 
UF_UGMGR_KF_export_dfa_in_part (查看源代码)
 
定义在: uf_kf_ugmgr.h
 
概述
This function exports DFA classes and functions that are referenced in
a part file

环境
内部和外部

历史
Originally released in NX2
 
需要许可证(S)
( ug_kf_execute  or  ug_kf_author )

 
int UF_UGMGR_KF_export_dfa_in_part
(
const char* part_name
)
const char*part_nameInput(输入)CLI Name of part