UF_GDT_add_datum_identifier (查看源代码)
定义在: uf_gdt.h
概述
Add a datum identifier to an existent tolerance feature.
This function does not create a new tolerance feature. If an entirely
new tolerance feature is required use the UF_GDT_create_datum_identifier
routine. The tolerance_feature parameter should be a UF_tolerance_feature_type.
Note: More than one datum identifier could be added to a tolerance feature one
at a tome.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialize
UF_GDT_ERR_NULL_LABEL
环境
内部和外部
参见
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_add_datum_identifier
(
tag_t tolerance_feature,
UF_GDT_datum_identifier_t * datum_data
)
UF_GDT_add_datum_to_feature (查看源代码)
定义在: uf_gdt.h
概述
This function allows the calling program to add a datum to tolerance feature.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NULL_LABEL
UF_GDT_ERR_NOT_TOL_FEAT
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
geometric_tol
int UF_GDT_add_datum_to_feature
(
tag_t feature,
tag_t datum
)
UF_GDT_add_fcf (查看源代码)
定义在: uf_gdt.h
概述
This function adds a geometric tolerance to an existing tolerance feature.
This function does not create a new tolerance feature. If an entirely new
tolerance feature is required use the UF_GDT_create_fcf routine.
环境
内部和外部
参见
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_add_fcf
(
tag_t tolerance_feature,
UF_GDT_fcf_t * tolerance_data,
tag_t * fcf
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance Feature to associate datum identifier |
| UF_GDT_fcf_t * | tolerance_data | Input(输入) | Creation data for new geometric tolerance |
| tag_t * (tag_t型的指针) | fcf | Output(输出) | Identifier of the geometric tolerances feature control frame |
UF_GDT_add_leader (查看源代码)
定义在: uf_gdt.h
概述
The following function will add a leader to a given instance based
on the given UF_GDT_leader_spec structure.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_INVALID_VIEW (View to attach leader is invalid)
UF_GDT_ERR_NO_ADD_PROFILE_LDR (Cannot add a profile leader)
UF_GDT_ERR_NO_ADD_TO_INSTANCE (Cannot add leaders to the following:
- instance with a tolerance of size
- instances with a profile leader
- datum targets
- datums without dot terminated leader
)
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_add_leader
(
tag_t instance,
UF_GDT_leader_spec_p_t spec
)
UF_GDT_add_size_tolerance (查看源代码)
定义在: uf_gdt.h
概述
This function adds a size tolerance to an existing tolerance feature.
This function does not create a new tolerance feature. If an entirely new
tolerance feature is required use the UF_GDT_create_size_tolerance routine.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_add_size_tolerance
(
tag_t tolerance_feature,
UF_GDT_size_tolerance_t * size_data
)
UF_GDT_ask_annotation_tags (查看源代码)
定义在: uf_gdt.h
概述
The following function will query the given feature instance for:
dimension tags
feature control frame tags
appended text tags (of the feature control frames only)
number of non-dimensional leaders
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_FEATURE_INSTANCE (Object is not a feature instance)
UF_err_program_not_initialized
环境
Internal and External
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_annotation_tags
(
tag_t instance,
UF_GDT_annotation_tags_p_t tags
)
| tag_t (tag_t类型) | instance | Input(输入) | Tag of the instance to query |
| UF_GDT_annotation_tags_p_t | tags | Output to be freed 输出并释放 | Data queried off of the instance. Use UF_GDT_free with UF_GDT_ANNOTATION_TAGS_TYPE to free this structure. |
UF_GDT_ask_appended_text (查看源代码)
定义在: uf_gdt.h
概述
Return the appended text at the specified location for the input feature
control frame or dimension. This routines functionality has been extended
to include tolerance feature tags. Passing a tolerance feature tag
in as parameter 1 will query the size tolerance appended text
data for that tolerance feature.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
历史
Modified in V16 to include tolerance feature tags
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_appended_text
(
tag_t object,
UF_GDT_text_location_t location,
int * num_lines,
char * * * appended_text
)
| tag_t (tag_t类型) | object | Input(输入) | FCF, tolerance feature or dimension to query |
| UF_GDT_text_location_t | location | Input(输入) | Appended text location to query |
| int * (整数型指针) | num_lines | Output(输出) | Number of appended text lines |
| char * * * | appended_text | Output to be freed 输出并释放 | Appended text at location requested. This array of strings must be freed by calling UF_free_string_array. |
UF_GDT_ask_associated_datums (查看源代码)
定义在: uf_gdt.h
概述
The following function will return the datum identifiers associated with
the tolerance feature callout or dimension instance.
NOTE: The application is responsible for freeing the array of datums
allocated by this function.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_associated_datums
(
tag_t feature_instance,
tag_t * * associated_datums,
int * num_associated_datums
)
| tag_t (tag_t类型) | feature_instance | Input(输入) | Tolerance feature display instance |
| tag_t * * | associated_datums | Output to be freed 输出并释放 | Associated datum features |
| int * (整数型指针) | num_associated_datums | Output(输出) | Number of datum attached to the instance |
UF_GDT_ask_association_type (查看源代码)
定义在: uf_gdt.h
概述
Given a datum identifier, the following function will return the type of
associative relationship for the datum. This is especially useful when the
caller needs to know how datum feature symbols are attached to other display
instances.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_association_type
(
tag_t datum_instance,
UF_GDT_datum_assoc_type_t * assoc_type
)
UF_GDT_ask_callout_strings (查看源代码)
定义在: uf_gdt.h
概述
Return the callout strings corresponding to each of the tolerance feature's
tolerance types.
If the input tolerance tag is a tolerance feature tag then all of the
tolerance feature's callout strings are returned including:
its datum label (if any)
its datum target label (if any)
callout strings for each of its feature control frames (if any)
callout string for its size tolerance (if any)
callout string for its directed dimension (if any)
If the input tolerance tag is a single feature control frame then only the
its callout string is returned.
If the input tolerance tag is a composite feature control frame then two
callout strings are returned. The first representing the upper tolerance
and the second representing the lower tolerance.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_SUBTOLERANCE_TYPE
UF_err_program_not_initialized
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_callout_strings
(
tag_t tolerance,
int * num_callout_strings,
UF_GDT_callout_string_p_t * callout_strings
)
| tag_t (tag_t类型) | tolerance | Input(输入) | Tolerance to query may be either a tolerance feature tag or a feature control frame tag |
| int * (整数型指针) | num_callout_strings | Output(输出) | Number of callout strings |
| UF_GDT_callout_string_p_t * | callout_strings | Output to be freed 输出并释放 | List of callout strings. Use UF_GDT_free to free each element of this array and then UF_free to free the array. |
UF_GDT_ask_characteristic (查看源代码)
定义在: uf_gdt.h
概述
Given a feature control frame, this function returns the feature
control frame's tolerance characteristic.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_characteristic
(
tag_t fcf,
UF_GDT_characteristic_t * characteristic
)
UF_GDT_ask_complex_feature (查看源代码)
定义在: uf_gdt.h
概述
Given a complex tolerance subfeature, return its parent complex feature.
A complex feature is a tolerance feature defined by a predefined set of
subfeatures known as complex tolerance subfeatures.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_COMPLEX_SUB_FEAT
环境
Internal and external
历史
Originally released in V18.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_complex_feature
(
tag_t complex_sub_feature,
tag_p_t complex_feature
)
| tag_t (tag_t类型) | complex_sub_feature | Input(输入) | Tag of the complex tolerance subfeature to query. |
| tag_p_t | complex_feature | Output(输出) | Complex feature tags containing the complex tolerance subfeature specified. |
UF_GDT_ask_complex_sub_features (查看源代码)
定义在: uf_gdt.h
概述
Given a complex tolerance feature, return an array of complex sub-features.
A complex sub-feature is a tolerance subfeature whose faces are a subset of
the given complex tolerance feature.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_COMPLEX_TOL_FEAT
环境
Internal and external
历史
Originally released in V18.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_complex_sub_features
(
tag_t complex_feature,
int * num_complex_sub_features,
tag_p_t * complex_sub_features
)
| tag_t (tag_t类型) | complex_feature | Input(输入) | Tag of the complex tolerance feature to query. |
| int * (整数型指针) | num_complex_sub_features | Output(输出) | Number of complex subfeatures returned. |
| tag_p_t * | complex_sub_features | Output to be freed 输出并释放 | Array of complex subfeature tags. This array must be freed by calling UF_free. |
UF_GDT_ask_component_tolerance_index (查看源代码)
定义在: uf_gdt.h
概述
Return the unique index number of a tolerance (fcf or size tolerance)
in the component part file that it was pulled from. If the tolerance
feature input into this routine has no tolerance or size data, or the
tolerance is not a pulled tolerance, an error will be returned.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOLERANCE
UF_GDT_ERR_NO_SIZE_DATA_ON_FEATURE
UF_GDT_ERR_NOT_PULLED_SUBTOLERANCE
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_component_tolerance_index
(
tag_t tolerance,
int * index
)
| tag_t (tag_t类型) | tolerance | Input(输入) | This can either be a tolerance feature or fcf tag that is a pulled tolerance. |
| int * (整数型指针) | index | Output(输出) | Unique index for the tolerance that the given tag was pulled from. |
UF_GDT_ask_composite_drf (查看源代码)
定义在: uf_gdt.h
概述
This function asks the composite priority for a composite feature control
frame.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_composite_drf
(
tag_t fcf,
UF_GDT_precedence_t * priority
)
UF_GDT_ask_datum_by_label (查看源代码)
定义在: uf_gdt.h
概述
This function returns the corresponding datum by a datum label.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_TOL_FEAT
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_datum_by_label
(
char * datum_label,
tag_t * datum
)
| char * (字符型指针) | datum_label | Input(输入) | Datum label string to inquire |
| tag_t * (tag_t型的指针) | datum | Output(输出) | Tag of the corresponding datum |
UF_GDT_ask_datum_ident_parms (查看源代码)
定义在: uf_gdt.h
概述
This function returns information on a specified datum identifier.
The input tag object could be a tolerance feature or a datum object.
If it is a tolerance feature, it works the same way as before except that if the
tolerance feature refers to more than one datum, an error called
UF_GDT_ERR_FEAT_NOT_VALID will returned. If it is a datum object, it will
return the information about this datum.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_BASE
UF_GDT_ERR_FEAT_NOT_VALID
UF_GDT_ERR_NOT_IDENT_DATUM
环境
内部和外部
历史
Original release was in 14.0, modified in release v18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_datum_ident_parms
(
tag_t base,
UF_GDT_datum_identifier_p_t * datum_data
)
UF_GDT_ask_datum_keywords (查看源代码)
定义在: uf_gdt.h
概述
This function allows the calling program to query keywords on datum objects.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_DATUM
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_datum_keywords
(
tag_t datum,
int * num_keywords,
UF_GDT_keyword_p_t * keywords
)
UF_GDT_ask_datum_multiple_parms (查看源代码)
定义在: uf_gdt.h
概述
This function returns information on a specified multiple datum.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_datum_multiple_parms
(
tag_t multiple_datum,
UF_GDT_multiple_datum_p_t * datum_data
)
| tag_t (tag_t类型) | multiple_datum | Input(输入) | Identifier of multiple datum queried |
| UF_GDT_multiple_datum_p_t * | datum_data | Output to be freed 输出并释放 | Returned data concerning the multiple datum. Use UF_GDT_free to deallocate memory when done. |
UF_GDT_ask_datum_of_label (查看源代码)
定义在: uf_gdt.h
概述
This function returns the identifier of the datum referred to by a
datum label.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_datum_of_label
(
char * datum_label,
tag_t * datum_feature
)
| char * (字符型指针) | datum_label | Input(输入) | Datum label string to inquire |
| tag_t * (tag_t型的指针) | datum_feature | Output(输出) | Identifier of datum referenced by label |
UF_GDT_ask_datum_of_target (查看源代码)
定义在: uf_gdt.h
概述
Find the tag of the datum parent of a given target.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_datum_of_target
(
tag_t target,
tag_t * datum
)
UF_GDT_ask_datum_referencers (查看源代码)
定义在: uf_gdt.h
概述
Get the feature control frames that reference the datum.
Note: The input could be a datum feature or a datum object.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_GDT_ERR_FEATURE_NOT_DATUM
UF_err_program_not_initialized
UF_GDT_ERR_NOT_BASE
环境
内部和外部
历史
Original release was in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_datum_referencers
(
tag_t base,
int * num_fcfs,
tag_p_t * fcfs
)
| tag_t (tag_t类型) | base | Input(输入) | Datum feature or datum object to query |
| int * (整数型指针) | num_fcfs | Output(输出) | Number of feature control frames referencing the datum |
| tag_p_t * | fcfs | Output to be freed 输出并释放 | List of feature control frames referencing the datum. This should be freed with UF_free. |
UF_GDT_ask_datum_references (查看源代码)
定义在: uf_gdt.h
概述
The following function returns the datum references of the given data
frame in a given feature control frame. The number frames is only greater
than one in the case of a composite tolerance. A non-composite tolerance
composite frame has only one frame.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_datum_references
(
tag_t fcf,
int nth_frame,
int * num_refs,
UF_GDT_datum_reference_p_t * * datum_reference
)
| tag_t (tag_t类型) | fcf | Input(输入) | Feature control frame to inquire |
| int (整数型) | nth_frame | Input(输入) | The frame in the feature control frame to query |
| int * (整数型指针) | num_refs | Output(输出) | Number of datum references returned |
| UF_GDT_datum_reference_p_t * * | datum_reference | Output to be freed 输出并释放 | Function_to_free = UF_GDT_free Datum references for the feature control frame. Use UF_GDT_free to deallocate memory when done. |
UF_GDT_ask_datums_of_feature (查看源代码)
定义在: uf_gdt.h
概述
This routine queries all the datums on the tolerance feature.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_TOL_FEAT
环境
Internal and External
历史
Originally released in V18.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_datums_of_feature
(
tag_t datum_feature,
tag_p_t * datums,
int * num_datums
)
| tag_t (tag_t类型) | datum_feature | Input(输入) | Tolerance feature to inquire |
| tag_p_t * | datums | Output to be freed 输出并释放 | All the datums associated with the tolerance feature, Use UF_free to deallocate memory when done. |
| int * (整数型指针) | num_datums | Output(输出) | Number of datums |
UF_GDT_ask_depth_tolerance_parms (查看源代码)
定义在: uf_gdt.h
概述
Allows the calling program to query the depth tolerance information
(nominal value, +/- tolerance values, etc.) for a given tolerance
feature.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized x
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_depth_tolerance_parms
(
tag_t tolerance_feature,
UF_GDT_depth_tolerance_p_t * depth_data
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to inquire |
| UF_GDT_depth_tolerance_p_t * | depth_data | Output to be freed 输出并释放 | Information on the depth tolerance. The data allocated for this structure must be freed by calling UF_GDT_free. |
UF_GDT_ask_description (查看源代码)
定义在: uf_gdt.h
概述
This function returns the tolerance feature description and name
information to the calling application.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_description
(
tag_t tolerance_feature,
UF_GDT_description_p_t * info
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance Feature to inquire |
| UF_GDT_description_p_t * | info | Output to be freed 输出并释放 | Description associated with tolerance feature or tolerance datum feature. This must be freed by calling UF_GDT_free. |
UF_GDT_ask_directed_dimension (查看源代码)
定义在: uf_gdt.h
概述
Finds information for a directed dimension tolerance on a tolerance feature.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_directed_dimension
(
tag_t tolerance_feature,
UF_GDT_directed_dimension_p_t * data
)
UF_GDT_ask_drf (查看源代码)
定义在: uf_gdt.h
概述
This function asks the data of the given datum reference frame.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_drf
(
tag_t drf,
UF_GDT_drf_data_p_t * drf_data
)
| tag_t (tag_t类型) | drf | Input(输入) | Datum reference frame identifier |
| UF_GDT_drf_data_p_t * | drf_data | Output to be freed 输出并释放 | Data of a datum reference frame. This must be freed by calling UF_free |
UF_GDT_ask_face_from_index (查看源代码)
定义在: uf_gdt.h
概述
Return the geometry tag that corresponds to the geometry index specified.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
历史
V18.0. This function was enhanced to support smart model attributes.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_face_from_index
(
int geometry_index,
tag_t * geometry
)
| int (整数型) | geometry_index | Input(输入) | Index of geometry to lookup |
| tag_t * (tag_t型的指针) | geometry | Output(输出) | Geometry tag with the index specified |
UF_GDT_ask_face_index (查看源代码)
定义在: uf_gdt.h
概述
Find the unique geometry index of a piece of geometry referenced by a
tolerance feature or smart model attribute in the part file.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
历史
V18.0. This function was enhanced to support smart model attributes.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_face_index
(
tag_t geometry,
int * geometry_index
)
| tag_t (tag_t类型) | geometry | Input(输入) | Geometry tag to query index from |
| int * (整数型指针) | geometry_index | Output(输出) | Geometry index |
UF_GDT_ask_face_index_string (查看源代码)
定义在: uf_gdt.h
概述
Returns the index of the given face as a string.
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_face_index_string
(
tag_t face_tag,
char * * index_string
)
| tag_t (tag_t类型) | face_tag | Input(输入) | Tag of the face to query. |
| char * * | index_string | Output to be freed 输出并释放 | Face index of the given tag. Use UF_free to deallocate the memory when done. |
UF_GDT_ask_faces (查看源代码)
定义在: uf_gdt.h
概述
Returns the set of faces associated with the tolerance feature or
tolerance datum feature. If the feature is in an out of date or retained
state, it is possible that no faces are returned to the caller.
Some valid datum features may not have any associated faces (for
example, datum target points, line, areas, centerplanes, etc.).
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_faces
(
tag_t tolerance_feature,
int * num_faces,
tag_p_t * faces
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance Feature to inquire |
| int * (整数型指针) | num_faces | Output(输出) | Number of faces in face array |
| tag_p_t * | faces | Output to be freed 输出并释放 | Array of faces associated with tolerance feature. Use UF_free to deallocate memory when done. |
UF_GDT_ask_fcf_drf (查看源代码)
定义在: uf_gdt.h
概述
This function asks the datum reference frame of a feature control frame.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_fcf_drf
(
tag_t fcf,
tag_t * drf
)
UF_GDT_ask_fcf_parms (查看源代码)
定义在: uf_gdt.h
概述
This routine returns the defining data for a given single feature
control frame. Characteristic, Tolerance Zone, and Datum Reference
information is returned for each frame in the array.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_fcf_parms
(
tag_t fcf,
UF_GDT_fcf_p_t * fcf_data
)
| tag_t (tag_t类型) | fcf | Input(输入) | Feature control frame to inquire |
| UF_GDT_fcf_p_t * | fcf_data | Output to be freed 输出并释放 | Feature control frame data. This should be freed by calling UF_GDT_free. |
UF_GDT_ask_fcf_tags (查看源代码)
定义在: uf_gdt.h
概述
This function returns the tags of the feature control frames that
reference a given tolerance feature. The feature control frames are
listed in the array in the order that they appear in their feature control
frame.
In the case of multiple feature control frames the the first
(topmost) frame is returned in the first element of the "fcfs" array.
The second in the second element etc.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_fcf_tags
(
tag_t tolerance_feature,
int * num_fcfs,
tag_p_t * fcfs
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance Feature to inquire |
| int * (整数型指针) | num_fcfs | Output(输出) | Number of feature control frames in array |
| tag_p_t * | fcfs | Output to be freed 输出并释放 | Array of tags of the feature control frame identifiers associated with tolerance feature. Use UF_free to deallocate memory when done. |
UF_GDT_ask_feature_of_datum (查看源代码)
定义在: uf_gdt.h
概述
This function allows the calling program to query datum feature associated
with the given datum.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_DATUM
UF_GDT_ERR_DELETED_DATUM
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_feature_of_datum
(
tag_t datum,
tag_t * feature
)
UF_GDT_ask_feature_parms (查看源代码)
定义在: uf_gdt.h
概述
This routine returns the tolerance feature creation parameters, given
any tolerance feature.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_feature_parms
(
tag_t tolerance_feature,
UF_GDT_feature_parms_p_t * feat_parms
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance Feature to inquire |
| UF_GDT_feature_parms_p_t * | feat_parms | Output to be freed 输出并释放 | Tolerance feature creation parameters. UF_GDT_free must be used to free the space allocated for this argument. |
UF_GDT_ask_feature_type (查看源代码)
定义在: uf_gdt.h
概述
Given a tolerance feature or datum feature, this function determines
the exact type of feature and return it to the caller.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_feature_type
(
tag_t tolerance_feature,
UF_GDT_feature_type_t * feature
)
UF_GDT_ask_features_of_face (查看源代码)
定义在: uf_gdt.h
概述
Returns all of the tolerance features associated with the face specified.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_features_of_face
(
tag_t face,
tag_t * * tolerance_features,
int * num_tolerance_features
)
| tag_t (tag_t类型) | face | Input(输入) | Face to query for associated tolerance features. |
| tag_t * * | tolerance_features | Output to be freed 输出并释放 | Array of tags of tolerance features associated with this face. This array must be freed by calling UF_free. |
| int * (整数型指针) | num_tolerance_features | Output(输出) | Number of tolerance features in the array. |
UF_GDT_ask_gdt_object_dfa_file (查看源代码)
定义在: uf_gdt.h
概述
This routine queries the DFA file name on the given GDT object.
The GDT object could be one of the following:
Tolerance feature
Datum Reference Frame
Datum
Target
FCF
Tolerance
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_err_bad_parameter_number_1
UF_err_bad_parameter_number_2
环境
Internal and External
历史
Originally released in NX2.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_gdt_object_dfa_file
(
tag_t gdt_object,
char * * dfa_file
)
| tag_t (tag_t类型) | gdt_object | Input(输入) | The GDT object to query |
| char * * | dfa_file | Output to be freed 输出并释放 | The DFA file name of the given object |
UF_GDT_ask_gdt_view_matrix (查看源代码)
定义在: uf_gdt.h
概述
This function allows the calling program to query a view to determine the
view matrix.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
NOTE: GDT views functionality is obsoleted in NX3. In NX3 and later,
any view will have the same functionality as previous defined
gdt view does, so this function will just return the given's
view's orientation.
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_gdt_view_matrix
(
tag_t view,
double gdt_matrix [ 9 ]
)
| tag_t (tag_t类型) | view | Input(输入) | The view tag to query |
| double (实数型) | gdt_matrix [ 9 ] | Output(输出) | Matrix of the GD&T view |
UF_GDT_ask_geometric_definition (查看源代码)
定义在: uf_gdt.h
概述
Finds information about a geometric definition on a tolerance feature.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_geometric_definition
(
tag_t tolerance_feature,
UF_GDT_geometric_definition_p_t * data
)
UF_GDT_ask_index_display (查看源代码)
定义在: uf_gdt.h
概述
Returns the currently set index display method.
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_index_display
(
UF_GDT_index_display_type_t * index_display
)
UF_GDT_ask_instance_display_information (查看源代码)
定义在: uf_gdt.h
概述
Queries the show feature info status for the work part
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_instance_display_information
(
logical * preference
)
| logical * | preference | Output(输出) | Current display preference setting |
UF_GDT_ask_keyword_name (查看源代码)
定义在: uf_gdt.h
概述
Return the name currently associated with the keyword specified in the input
part. If the keyword does not exist in the part then an error will
be returned.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_bad_parameter_number_1
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_keyword_name
(
tag_t part_tag,
UF_GDT_keyword_id_t keyword_id,
char * * keyword_name
)
| tag_t (tag_t类型) | part_tag | Input(输入) | Part to query |
| UF_GDT_keyword_id_t | keyword_id | Input(输入) | Keyword whose name is requested |
| char * * | keyword_name | Output to be freed 输出并释放 | Name corresponding to keyword. This must be freed by calling UF_free. |
UF_GDT_ask_keyword_text (查看源代码)
定义在: uf_gdt.h
概述
Return the text currently associated with the keyword specified in the input
part.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_keyword_text
(
tag_t part_tag,
char * keyword_name,
char * * keyword_text
)
| tag_t (tag_t类型) | part_tag | Input(输入) | Part to query |
| char * (字符型指针) | keyword_name | Input(输入) | Keyword whose text is requested |
| char * * | keyword_text | Output to be freed 输出并释放 | Text corresponding to keyword. This must be freed by calling UF_free. |
UF_GDT_ask_label_of_datum (查看源代码)
定义在: uf_gdt.h
概述
Returns the datum label associated with a tolerance datum feature.
The input tag object could be a tolerance feature or a datum object.
If it is a tolerance feature, it works the same way as before except
that if the tolerance feature refers to more than one datum, an error
called UF_GDT_ERR_FEAT_NOT_VALID will returned. If it is a datum object,
it will return the information about this datum.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_BASE
UF_GDT_ERR_FEAT_NOT_VALID
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 14.0, modified in v18.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_label_of_datum
(
tag_t base,
char * * datum_label
)
| tag_t (tag_t类型) | base | Input(输入) | Tolerance Datum Feature or datum object to inquire |
| char * * | datum_label | Output to be freed 输出并释放 | Label associated with tolerance datum/multiple datum feature. Use UF_free to deallocate memory when done. |
UF_GDT_ask_leader (查看源代码)
定义在: uf_gdt.h
概述
The following function will query a given instance for the nth
leader object and return information about that leader
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NO_INDEXED_LEADER (Instance's nth leader non-existent)
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_leader
(
tag_t instance,
int nth,
UF_GDT_leader_spec_p_t spec
)
UF_GDT_ask_limits_and_fits_tolerance_parms (查看源代码)
定义在: uf_gdt.h
概述
This routine allows the calling program to query the limits and fits
tolerance information for a given tolerance feature.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
UF_GDT_ERR_NO_LIMITS_AND_FITS_TOLERANCE
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_limits_and_fits_tolerance_parms
(
tag_t tolerance_feature,
UF_GDT_limits_and_fits_tolerance_p_t * data
)
UF_GDT_ask_linked_features (查看源代码)
定义在: uf_gdt.h
概述
Return an array of features linked to the given tolerance feature.
环境
Internal and External
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_linked_features
(
tag_t tolerance_feature,
int * num_linked,
tag_p_t * linked_features
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature tag |
| int * (整数型指针) | num_linked | Output(输出) | Number of linked features |
| tag_p_t * | linked_features | Output to be freed 输出并释放 | Array of linked feature tags. This array must be freed by calling UF_free. |
UF_GDT_ask_load_component_flag (查看源代码)
定义在: uf_gdt.h
概述
Query the "auto load component" flag for the current
NX work part. This flag control whether component parts should be
automatically loaded when entering the tolerancing module.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_load_component_flag
(
logical * flag
)
| logical * | flag | Output(输出) | Current status of the load component flag. TRUE = Load component flag is set. |
UF_GDT_ask_major_dia_feature_of_spline_gear (查看源代码)
定义在: uf_gdt.h
概述
This routine returns the sub feature representing the major diameter of the
spline/gear tolerance feature.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_major_dia_feature_of_spline_gear
(
tag_t tolerance_feature,
tag_t * major_dia_feature
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Spline/Gear tolerance feature to query |
| tag_t * (tag_t型的指针) | major_dia_feature | Output(输出) | Sub feature representing the major diameter of the spline/ gear tolerance feature |
UF_GDT_ask_minor_dia_feature_of_spline_gear (查看源代码)
定义在: uf_gdt.h
概述
This routine returns the sub feature representing the minor diameter of the
spline/gear tolerance feature.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_minor_dia_feature_of_spline_gear
(
tag_t tolerance_feature,
tag_t * minor_dia_feature
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Spline/Gear tolerance feature to query |
| tag_t * (tag_t型的指针) | minor_dia_feature | Output(输出) | Sub feature representing the minor diameter of the spline/ gear tolerance feature |
UF_GDT_ask_modl_data (查看源代码)
定义在: uf_gdt.h
概述
Ask the modeling feature data referenced by the tolerance feature. Modeling
feature list will be NULL if the modeling features are not fully loaded.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
内部和外部
历史
Original release NX2.0.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_modl_data
(
tag_t tolerance_feature,
int * num_modl_sets,
UF_GDT_modl_data_p_t * * modl_sets
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to set |
| int * (整数型指针) | num_modl_sets | Output(输出) | Number of model sets |
| UF_GDT_modl_data_p_t * * | modl_sets | Output to be freed 输出并释放 | Function_to_free = UF_GDT_free Modeling feature data sets. Use UF_GDT_free to free the memory. |
UF_GDT_ask_modl_features (查看源代码)
定义在: uf_gdt.h
概述
Ask the modeling features referenced by the tolerance feature. Modeling feature
list will be NULL if the modeling features are not fully loaded.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
内部和外部
历史
Original release NX2.0.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_modl_features
(
tag_t tolerance_feature,
int * num_modl_features,
tag_t * * modl_features
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to set |
| int * (整数型指针) | num_modl_features | Output(输出) | Number of modeling features |
| tag_t * * | modl_features | Output to be freed 输出并释放 | Modeling feature list. Use UF_free to the memory. |
UF_GDT_ask_non_feature_edge_selection (查看源代码)
定义在: uf_gdt.h
概述
Queries the feature edges selection mode for the GD&T in the session.
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_non_feature_edge_selection
(
UF_GDT_edge_select_type_t * allow_non_feature_edges
)
UF_GDT_ask_num_leaders (查看源代码)
定义在: uf_gdt.h
概述
The following function will determine the number of leaders a given
instance has. This function will return a valid leader count for:
Feature instances without a dimension
Datum target instances
Datum instances on dot terminated leaders
For all other instances, a zero will return as the leader count.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_num_leaders
(
tag_t instance,
int * num_leaders
)
| tag_t (tag_t类型) | instance | Input(输入) | Tag of the instance to query |
| int * (整数型指针) | num_leaders | Output(输出) | Number of leaders on the instance |
UF_GDT_ask_pitch_dia_feature_of_spline_gear (查看源代码)
定义在: uf_gdt.h
概述
This routine returns the sub feature representing the pitch diameter of the
spline/gear tolerance feature.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_pitch_dia_feature_of_spline_gear
(
tag_t tolerance_feature,
tag_t * pitch_dia_feature
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Spline/Gear tolerance feature to query |
| tag_t * (tag_t型的指针) | pitch_dia_feature | Output(输出) | Sub feature representing the pitch diameter of the spline/ gear tolerance feature |
UF_GDT_ask_product_attributes (查看源代码)
定义在: uf_gdt.h
概述
This routine queries the product attributes of the tolerance feature.
Currently, only the Spline and Gear type tolerance features have product
attributes.
Please refer UF_PD application for details about the product attributes.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_product_attributes
(
tag_t tolerance_feature,
int * num_product_atts,
tag_t * * product_atts
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to query |
| int * (整数型指针) | num_product_atts | Output(输出) | Number of product attributes |
| tag_t * * | product_atts | Output to be freed 输出并释放 | List of product attributes |
UF_GDT_ask_profile_tol_data (查看源代码)
定义在: uf_gdt.h
概述
Queries the profile type and outside zone for a profile of line or profile
of surface tolerance. The outside zone is only meaningful if the profile
type returned is UF_GDT_PROFILE_UNEQ_BILATERAL.
The outside value may indicate that the rule for the profile type
UF_GDT_UNEQ_BILATERAL ( 0.0 < outside < total_tolerance) has
been violated. In this case the tolerance feature of the
fcf will be retained.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_INVALID_OBJECT (object is not an fcf)
UF_GDT_NOT_PROFILE_FCF (fcf does not contain a profile of
surface or profile of line
characteristic)
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_profile_tol_data
(
tag_t fcf,
UF_GDT_profile_type_p_t profile_type,
UF_GDT_tolerance_value_p_t outside
)
UF_GDT_ask_pulled_tolerance_component (查看源代码)
定义在: uf_gdt.h
概述
Return the component part from which a tolerance (fcf or size tolerance)
was pulled. If the tolerance feature input into this routine has no
tolerance or size data, or the tolerance is not a pulled tolerance,
an error will be returned.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_SUBTOLERANCE
UF_GDT_ERR_NOT_PULLED_SUBTOLERANCE
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_pulled_tolerance_component
(
tag_t tolerance,
tag_t * component_part_occ
)
| tag_t (tag_t类型) | tolerance | Input(输入) | This can either be a tolerance feature or fcf tag that is a pulled tolerance. |
| tag_t * (tag_t型的指针) | component_part_occ | Output(输出) | Part occurrence from which the given tolerance was pulled. |
UF_GDT_ask_size_tolerance_parms (查看源代码)
定义在: uf_gdt.h
概述
Allows the calling program to query the size tolerance information
(nominal value, +/- tolerance values, etc.) for a given tolerance
feature.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_size_tolerance_parms
(
tag_t tolerance_feature,
UF_GDT_size_tolerance_p_t * size_data
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to inquire |
| UF_GDT_size_tolerance_p_t * | size_data | Output to be freed 输出并释放 | Information on the size tolerance. The data allocated for this structure must be freed by calling UF_GDT_free. |
UF_GDT_ask_size_tolerance_tag (查看源代码)
定义在: uf_gdt.h
概述
Returns the identifier of the dimension which defines a size tolerance
for a given tolerance feature. Any calls to this routine will only return
NULL_TAG. To query size data please use UF_GDT_ask_size_tolerance_parms.
To query the appended text on a size tolerance please use
UF_GDT_ask_appended_text with the tolerance feature tag as parameter 1.
环境
内部和外部
历史
Original release was in 14.0.
Modified in V16 to always return a NULL_TAG
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_size_tolerance_tag
(
tag_t tolerance_feature,
tag_t * size_tolerance
)
UF_GDT_ask_sub_features (查看源代码)
定义在: uf_gdt.h
概述
Given a tolerance feature, return an array of sub-features. A sub-feature
is a tolerance feature whose faces are a subset of the given tolerance
feature.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_sub_features
(
tag_t tolerance_feature,
int * num_sub_features,
tag_p_t * sub_features
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature tag |
| int * (整数型指针) | num_sub_features | Output(输出) | Number of subfeatures returned |
| tag_p_t * | sub_features | Output to be freed 输出并释放 | Array of subfeature tags. This array must be freed by calling UF_free. |
UF_GDT_ask_super_feature (查看源代码)
定义在: uf_gdt.h
概述
For the given tolerance feature find the tolerance feature whose faces
are a superset. If no such feature exists, then a NULL_TAG will be
returned.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_super_feature
(
tag_t tolerance_feature,
tag_t * super_feature
)
UF_GDT_ask_table_of_instance (查看源代码)
定义在: uf_gdt.h
概述
This routine returns the table of the instance. The table is a type of tabular
note.
Please refer UF_TABNOT application for a detailed description of tabular notes.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_table_of_instance
(
tag_t feature_instance,
tag_t * table
)
UF_GDT_ask_tags (查看源代码)
定义在: uf_gdt.h
概述
Return two arrays of tags which correspond to the "displayed elements" of
a display instance. Note objects are created for feature control frames
and feature control frame appended text. This function is most useful for
applications performing translation of display instance information to
another data format.
The input display instance could either be a tolerance feature instance or
a product definition instance.
NOTE: The application may use UF_OBJ_delete_object to delete each of the
tags created and returned by this routine.
NOTE ALSO: Users are responsible for deleting the output curves and annotations
after calling this function and finish their operations.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tags
(
tag_t display_instance,
tag_t * * curves,
int * num_curves,
tag_t * * annotations,
int * num_annotations
)
| tag_t (tag_t类型) | display_instance | Input(输入) | Display instance in which to generate curve or annotation tags. |
| tag_t * * | curves | Output to be freed 输出并释放 | Array of curves (either line or arc type curves) used to describe the annotation display. This must be freed by calling UF_free. |
| int * (整数型指针) | num_curves | Output(输出) | Number of curves in array |
| tag_t * * | annotations | Output to be freed 输出并释放 | Array of annotations (either dimension, note, or crosshatching) used to describe the annotation display. This array must be freed by calling UF_free. |
| int * (整数型指针) | num_annotations | Output(输出) | Number of annotations in array |
UF_GDT_ask_target_area_xhatch (查看源代码)
定义在: uf_gdt.h
概述
This function queries the crosshatching distance and angle parameters for the
given datum target area instance.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_bad_parameter_number_1
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_target_area_xhatch
(
tag_t target_inst,
double * distance,
double * angle
)
| tag_t (tag_t类型) | target_inst | Input(输入) | Tag of target instance |
| double * (实数型指针) | distance | Output(输出) | Crosshatching distance |
| double * (实数型指针) | angle | Output(输出) | Crosshatching angle |
UF_GDT_ask_target_cyl_parms (查看源代码)
定义在: uf_gdt.h
概述
Returns the data associated with the cylindrical datum target area.
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_target_cyl_parms
(
tag_t target,
UF_GDT_target_cyl_area_p_t * data
)
UF_GDT_ask_target_dia_parms (查看源代码)
定义在: uf_gdt.h
概述
This routine returns the information which defines a circular datum
target area.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_target_dia_parms
(
tag_t target,
UF_GDT_target_dia_area_p_t * data
)
UF_GDT_ask_target_line_parms (查看源代码)
定义在: uf_gdt.h
概述
This routine returns the information which defines a datum target line.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_target_line_parms
(
tag_t target,
UF_GDT_datum_target_line_p_t * data
)
UF_GDT_ask_target_point_parms (查看源代码)
定义在: uf_gdt.h
概述
This routine returns the information which defines a datum target point.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_target_point_parms
(
tag_t target,
UF_GDT_datum_target_point_p_t * data
)
UF_GDT_ask_target_rect_parms (查看源代码)
定义在: uf_gdt.h
概述
This routine returns the information which defines a rectangular datum
target area.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_target_rect_parms
(
tag_t target,
UF_GDT_target_rect_area_p_t * data
)
UF_GDT_ask_target_udef_parms (查看源代码)
定义在: uf_gdt.h
概述
This routine returns the information which defines a user defined datum
target area.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_target_udef_parms
(
tag_t target,
UF_GDT_target_udef_area_p_t * data
)
UF_GDT_ask_targets_of_datum (查看源代码)
定义在: uf_gdt.h
概述
Finds all targets for the given tolerance feature.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_targets_of_datum
(
tag_t datum,
int * num_targets,
tag_p_t * targets
)
| tag_t (tag_t类型) | datum | Input(输入) | Datum feature tag |
| int * (整数型指针) | num_targets | Output(输出) | Number of targets returned |
| tag_p_t * | targets | Output to be freed 输出并释放 | Array of target tags. This array must be freed by calling UF_free. |
UF_GDT_ask_thread_tolerance_parms (查看源代码)
定义在: uf_gdt.h
概述
This function allows the calling program to query the thread tolerance
information for a given tolerance feature.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.5, NX1.0.1 and NX2.0.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_thread_tolerance_parms
(
tag_t tolerance_feature,
UF_GDT_thread_tolerance_p_t * data
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to inquire |
| UF_GDT_thread_tolerance_p_t * | data | Output to be freed 输出并释放 | Information on the thread tolerance parms. The data allocated for this structure must be freed by calling UF_GDT_free. |
UF_GDT_ask_tol_feat_instance (查看源代码)
定义在: uf_gdt.h
概述
This function returns all displayed instances created from the
tolerance feature. 0..n instances may be returned.
环境
内部和外部
历史
Original release was in 14.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tol_feat_instance
(
tag_t tolerance_feature,
int * num_instances,
tag_p_t * feature_instances
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance Feature to inquire |
| int * (整数型指针) | num_instances | Output(输出) | Number of instances returned in above array. |
| tag_p_t * | feature_instances | Output to be freed 输出并释放 | Array of tags of all instances created from the tolerance feature. Use UF_free to deallocate memory when done. |
UF_GDT_ask_tol_feat_of_instance (查看源代码)
定义在: uf_gdt.h
概述
Returns the tag of the tolerance feature associated with a given
tolerance feature instance.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tol_feat_of_instance
(
tag_t feature_instance,
tag_t * tolerance_feature
)
| tag_t (tag_t类型) | feature_instance | Input(输入) | Tolerance Feature instance to inquire |
| tag_t * (tag_t型的指针) | tolerance_feature | Output(输出) | Identifier of the tolerance feature referenced by the instance |
UF_GDT_ask_tol_feat_tag (查看源代码)
定义在: uf_gdt.h
概述
Queries the unique tolerance index for the given feature control
frame or tolerance feature. A tolerance feature tag can only be passed into
this routine if the tolerance feature has a tolerance of size.
环境
内部和外部
历史
This function was originally released in V15.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tol_feat_tag
(
tag_t tolerance,
tag_t * tolerance_feature
)
UF_GDT_ask_tolerance (查看源代码)
定义在: uf_gdt.h
概述
This routine queries the tolerance on the tolerance feature by given type.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_TOL_FEAT
UF_GDT_ERR_BAD_TOLERANCE_TYPE
环境
Internal and External
历史
Originally released in NX2.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tolerance
(
tag_t tol_feat,
UF_GDT_tolerance_type_t type,
tag_t * tolerance
)
UF_GDT_ask_tolerance_from_index (查看源代码)
定义在: uf_gdt.h
概述
Find the requirement tag for the index specified.
If the "fcf" parameter is a NULL_TAG then the index is returned is
either for size tolerance on a tolerance feature or a smart model
attribute. If an fcf tag is returned then the index is for the fcf
and the "requirement" is the parent feature of the fcf.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
历史
V18.0. This function was enhanced to support smart model attributes.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tolerance_from_index
(
int index,
tag_t * requirement,
tag_t * fcf
)
| int (整数型) | index | Input(输入) | Unique index number for the requirement |
| tag_t * (tag_t型的指针) | requirement | Output(输出) | Smart model attribute or tolerance feature for the index. |
| tag_t * (tag_t型的指针) | fcf | Output(输出) | Fcf for the index (if the requirement is a tolerance feature and the index is for a FCF.) |
UF_GDT_ask_tolerance_index (查看源代码)
定义在: uf_gdt.h
概述
Return the unique index, or requirement number of a tolerance (fcf or size
tolerance) or smart model attribute in the part file.
If the tag input is a tolerance feature and this feature contains no tolerance
or or size data, an error will be returned.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOLERANCE
UF_GDT_ERR_NO_SIZE_DATA_ON_FEATURE
UF_err_program_not_initialized
环境
Internal and External
历史
V18.0. This function was enhanced to support smart model attributes.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tolerance_index
(
tag_t requirement,
int * index
)
| tag_t (tag_t类型) | requirement | Input(输入) | This can either be a tolerance feature, fcf tag or smart model attribute. |
| int * (整数型指针) | index | Output(输出) | Unique index for the given tag |
UF_GDT_ask_tolerance_index_string (查看源代码)
定义在: uf_gdt.h
概述
Returns the index of the given tolerance as a string.
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tolerance_index_string
(
tag_t tolerance_tag,
char * * index_string
)
| tag_t (tag_t类型) | tolerance_tag | Input(输入) | Tag of the tolerance to query. This should be either the tag of an FCF object or a tolerance feature object. |
| char * * | index_string | Output to be freed 输出并释放 | Tolerance index of the given tag. Use UF_free to deallocate the memory when done. |
UF_GDT_ask_tolerance_types (查看源代码)
定义在: uf_gdt.h
概述
Returns an array of tolerance attributes which compose the given
tolerance feature.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tolerance_types
(
tag_t tolerance_feature,
int * num_types,
UF_GDT_tolerance_type_p_t * types
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to inquire |
| int * (整数型指针) | num_types | Output(输出) | Number of types in types array |
| UF_GDT_tolerance_type_p_t * | types | Output to be freed 输出并释放 | Pointer to an array of tolerance types. Use UF_free to deallocate memory when done. |
UF_GDT_ask_tolerance_zone (查看源代码)
定义在: uf_gdt.h
概述
Returns the information concerning the entire tolerance zone
associated with a feature control frame.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tolerance_zone
(
tag_t fcf,
int nth_zone,
UF_GDT_tolerance_zone_p_t * zone,
UF_GDT_modifier_data_p_t * frame_mod
)
| tag_t (tag_t类型) | fcf | Input(输入) | Feature control frame to inquire |
| int (整数型) | nth_zone | Output(输出) | Tolerance zone frame to query |
| UF_GDT_tolerance_zone_p_t * | zone | Output to be freed 输出并释放 | Pointer to tolerance zone data. Use UF_GDT_free to deallocate memory when done. |
| UF_GDT_modifier_data_p_t * | frame_mod | Output to be freed 输出并释放 | Modifier information for the tolerance zone. UF_GDT_free to deallocate memory when done. |
UF_GDT_ask_tolerances (查看源代码)
定义在: uf_gdt.h
概述
This routine queries all the size tolerances and associated tolerance types
on the given tolerance feature.
NOTE: This function will not return any FCFs, to query FCFs, use function
UF_GDT_ask_fcf_tags.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_TOL_FEAT
环境
Internal and External
历史
Originally released in NX2.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tolerances
(
tag_t tol_feat,
tag_p_t * tolerances,
int * num_tolerances,
UF_GDT_tolerance_type_p_t * types
)
| tag_t (tag_t类型) | tol_feat | Input(输入) | The tolerance feature to inquire |
| tag_p_t * | tolerances | Output to be freed 输出并释放 | All the tolerances associated with the feature, Use UF_GDT_free to deallocate memory when done. |
| int * (整数型指针) | num_tolerances | Output(输出) | Number of tolerances |
| UF_GDT_tolerance_type_p_t * | types | Output to be freed 输出并释放 | The corresponding tolerance types |
UF_GDT_ask_tolerancing_standard (查看源代码)
定义在: uf_gdt.h
概述
Returns the standard that is in effect in the current drawing.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_tolerancing_standard
(
UF_GDT_standard_t * standard
)
UF_GDT_ask_unit_basis (查看源代码)
定义在: uf_gdt.h
概述
Interrogates the unit basis data off of a tolerance feature
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_FCF
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_unit_basis
(
tag_t fcf,
UF_GDT_modifier_types_p_t modifier,
UF_GDT_unit_basis_p_t data
)
UF_GDT_ask_wall_thickness_parms (查看源代码)
定义在: uf_gdt.h
概述
Allows the calling program to query the wall thickness information
(nominal value, +/- tolerance values, etc.) for a given tolerance
feature.
环境
内部和外部
历史
Original release was in 17.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_ask_wall_thickness_parms
(
tag_t tolerance_feature,
UF_GDT_size_tolerance_p_t * size_data
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to inquire |
| UF_GDT_size_tolerance_p_t * | size_data | Output to be freed 输出并释放 | Information on the wall thickness. The data allocated for this structure must be freed by calling UF_GDT_free. |
UF_GDT_break_relationship (查看源代码)
定义在: uf_gdt.h
概述
Break a master model relationship between an assembly part and a component
part. The following relation types are currently supported:
UF_GDT_PULL_RELATION_TYPE: If this type is specified, the tolerance
feature at the assembly level must be supplied as input. After
the operation, the assembly level feature will no longer be
dependent on the component tolerance.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_INVALID_OBJECT (object is not a tolerance feature)
UF_GDT_FEATURE_NOT_PULLED (attempt to break pull relation on a
non-pulled feature)
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_break_relationship
(
tag_t tolerance_feature,
UF_GDT_relation_type_t relationship_type
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to convert from an assembly tolerance to a component level tolerance. |
| UF_GDT_relation_type_t | relationship_type | Input(输入) | Type of relationship to break. Possible values are: UF_GDT_PULL_RELATION_TYPE |
UF_GDT_create_datum_identifier (查看源代码)
定义在: uf_gdt.h
概述
This function allows the calling program to create a datum Identifier.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_create_datum_identifier
(
UF_GDT_feature_parms_p_t feat_parms,
UF_GDT_datum_identifier_p_t datum_data,
tag_p_t datum_feature
)
UF_GDT_create_datum_multiple (查看源代码)
定义在: uf_gdt.h
概述
Allows the calling program to create a multiple datum. The "num_faces"
and "face_list" fields in the UF_GDT_feature_parms_s structure should be
set to "0" and "NULL" respectively.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_create_datum_multiple
(
UF_GDT_feature_parms_p_t feat_parms,
UF_GDT_multiple_datum_p_t datum_data,
tag_t * multiple_datum
)
UF_GDT_create_drf (查看源代码)
定义在: uf_gdt.h
概述
This routine creates a datum reference frame from the given data structure.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
geometric_tol
int UF_GDT_create_drf
(
UF_GDT_drf_data_p_t drf_data,
tag_t * drf
)
UF_GDT_create_fcf (查看源代码)
定义在: uf_gdt.h
概述
Allows the calling program to create a feature control frame. This
does not create a displayed instance.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_create_fcf
(
UF_GDT_feature_parms_p_t feat_parms,
UF_GDT_fcf_t * tolerance_data,
tag_t * tolerance_feature,
tag_t * fcf
)
UF_GDT_create_feature_with_product_att (查看源代码)
定义在: uf_gdt.h
概述
This routine creates tolerance features with product attributes. Please
refer UF_PD application for details about product attributes.
Currently, the following tolerance feature types can be created with product
attributes -
UF_GDT_GEAR_FEATURE
UF_GDT_SPLINE_FEATURE
When UF_GDT_GEAR_FEATURE feature type is passed, this routine creates a gear
tolerance feature and its sub features.
The created tolerance features are returned in the following order -
Gear type tolerance feature
Pin/Hole type tolerance feature representing pitch diameter
Pin/Hole type tolerance feature representing major diameter
Pin/Hole type tolerance feature representing minor diameter
Circular Tooth Thickness type tolerance feature for external gear
Circular Space Width type tolerance feature for internal gear
Measurement type tolerance feature
Following product attribute type can be specified to create a gear type
tolerance feature -
UF_PD_SPUR_GEAR_TYPE
UF_PD_HELICAL_GEAR_TYPE
When UF_GDT_SPLINE_FEATURE feature type is passed, this routine creates a
spline tolerance feature and its sub features.
The created tolerance features are returned in the following order -
Spline type tolerance feature
Pin/Hole type tolerance feature representing pitch diameter
Pin/Hole type tolerance feature representing major diameter
Pin/Hole type tolerance feature representing minor diameter
Measurement type tolerance feature
Following product attribute type can be specified to create a gear type
tolerance feature -
UF_PD_STRAIGHT_SIDED_SPLINE_TYPE
UF_PD_INVOLUTE_SPLINE_TYPE
The function does not create a display instance.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_INVALID_PRODUCT_ATTRIBUTES
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
geometric_tol
int UF_GDT_create_feature_with_product_att
(
UF_GDT_feature_parms_p_t feat_parms,
UF_GDT_product_attribute_p_t uf_atts,
int * num_tol_feats,
tag_t * * tol_feat_list
)
| UF_GDT_feature_parms_p_t | feat_parms | Input(输入) | Tolerance feature parms |
| UF_GDT_product_attribute_p_t | uf_atts | Input(输入) | Product attributes data |
| int * (整数型指针) | num_tol_feats | Output(输出) | Number of tolerance features created |
| tag_t * * | tol_feat_list | Output to be freed 输出并释放 | List of tolerance features created. Use UF_free to free the memory. |
UF_GDT_create_instance (查看源代码)
定义在: uf_gdt.h
概述
Allows the calling program to create an instance of a tolerance
feature. The tolerance feature must be of a displayable type.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_create_instance
(
UF_GDT_tolerance_type_t type,
tag_t tolerance_feature,
tag_t view,
tag_t edge,
double origin [ 3 ] ,
double attach_point [ 3 ] ,
tag_t * feature_instance
)
| UF_GDT_tolerance_type_t | type | Input(输入) | Type of tolerance feature to create |
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Referenced tolerance feature |
| tag_t (tag_t类型) | view | Input(输入) | Tag of the view where the instance is displayed |
| tag_t (tag_t类型) | edge | Input(输入) | Solid edge where the leader is located |
| double (实数型) | origin [ 3 ] | Input(输入) | Location of instance origin |
| double (实数型) | attach_point [ 3 ] | Input(输入) | Location of attachment point |
| tag_t * (tag_t型的指针) | feature_instance | Output(输出) | Identification tag of created feature instance |
UF_GDT_create_modl_based_feature (查看源代码)
定义在: uf_gdt.h
概述
Allows the calling program to create a model based tolerance feature. A model
based tolerance feature references NX modeling features. This function does not
create a display instance.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_INVALID_MODL_DATA
UF_GDT_ERR_MODL_FEATURES_NOT_FULLY_LOADED
UF_GDT_ERR_INVALID_FACE_MAP
UF_GDT_ERR_FACE_MAP_MISMATCH
UF_GDT_ERR_INVALID_MODL_FEATURE_TYPE
UF_GDT_ERR_INVALID_MODL_PARAM
UF_GDT_ERR_MODL_PARAM_MISMATCH
环境
内部和外部
历史
Original release NX2.0.0
需要许可证(S)
geometric_tol
int UF_GDT_create_modl_based_feature
(
UF_GDT_feature_parms_p_t feat_parms,
int * num_tol_feats,
tag_t * * tol_feat_list
)
| UF_GDT_feature_parms_p_t | feat_parms | Input(输入) | Tolerance feature parms |
| int * (整数型指针) | num_tol_feats | Output(输出) | Number of tolerance features created |
| tag_t * * | tol_feat_list | Output to be freed 输出并释放 | List of tolerance features created. Use UF_free to free the memory. |
UF_GDT_create_size_tolerance (查看源代码)
定义在: uf_gdt.h
概述
This function allows the calling program to create a size tolerance.
This does not create a displayed instance.
环境
内部和外部
需要许可证(S)
geometric_tol
int UF_GDT_create_size_tolerance
(
UF_GDT_feature_parms_p_t feat_parms,
UF_GDT_size_tolerance_p_t size_data,
tag_t * size_tolerance
)
UF_GDT_create_table_instance (查看源代码)
定义在: uf_gdt.h
概述
This routine creates a table instance of a tolerance feature. The table
instance references a tabular note and displays the tolerance feature data in
the table format.
Following tolerance feature types can have a table instance -
UF_GDT_SPLINE_FEATURE
UF_GDT_GEAR_FEATURE
Please refer UF_TABNOT application for a detailed description of tabular notes.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in NX3.0
需要许可证(S)
geometric_tol
int UF_GDT_create_table_instance
(
tag_t tolerance_feature,
tag_t view,
double origin [ 3 ] ,
tag_t * feature_instance
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Referenced tolerance feature |
| tag_t (tag_t类型) | view | Input(输入) | Tag of the view where the instance is displayed |
| double (实数型) | origin [ 3 ] | Input(输入) | Location of instance origin |
| tag_t * (tag_t型的指针) | feature_instance | Output(输出) | Identification tag of created feature instance |
UF_GDT_create_target_cyl_area (查看源代码)
定义在: uf_gdt.h
概述
Creates the a cylindrical datum target area on the part with the area data
specified.
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_create_target_cyl_area
(
UF_GDT_target_cyl_area_p_t target_data,
tag_t * target_area
)
UF_GDT_create_target_dia_area (查看源代码)
定义在: uf_gdt.h
概述
This function creates a circular (or annular) datum target area with the
area data specified.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_bad_parameter_number_1
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_create_target_dia_area
(
UF_GDT_target_dia_area_p_t target_data,
tag_t * target_area
)
UF_GDT_create_target_line (查看源代码)
定义在: uf_gdt.h
概述
This function creates a datum target line with the line data specified.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_bad_parameter_number_1
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_create_target_line
(
UF_GDT_datum_target_line_p_t target_data,
tag_t * target_line
)
UF_GDT_create_target_point (查看源代码)
定义在: uf_gdt.h
概述
This function creates a datum target point with the data specified.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_bad_parameter_number_1
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_create_target_point
(
UF_GDT_datum_target_point_p_t target_data,
tag_t * point
)
UF_GDT_create_target_rect_area (查看源代码)
定义在: uf_gdt.h
概述
This function creates a rectangular datum target area with the area
data specified.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_bad_parameter_number_1
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_create_target_rect_area
(
UF_GDT_target_rect_area_p_t target_data,
tag_t * target_area
)
UF_GDT_create_target_udef_area (查看源代码)
定义在: uf_gdt.h
概述
This function creates a user defined datum target area with the area
data specified.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_bad_parameter_number_1
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_create_target_udef_area
(
UF_GDT_target_udef_area_p_t target_data,
tag_t * target_area
)
UF_GDT_create_wall_thickness (查看源代码)
定义在: uf_gdt.h
概述
This function allows the calling program to create a wall thickness
tolerance feature. This does not create a displayed instance.
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_create_wall_thickness
(
UF_GDT_feature_parms_p_t feat_parms,
UF_GDT_size_tolerance_p_t thickness_data,
tag_t * thickness_feature
)
UF_GDT_export_drawings (查看源代码)
定义在: uf_gdt.h
概述
This routine exports the given set of drawings as well as their
embedded GD&T to the given part.
PLEASE NOTE THE FOLLOWING WHEN USING THIS ROUTINE:
- The export will retain parametrics but will NOT export referenced
objects just to accomplish this. This mimics the
UF_PART_maintain_parms part export option.
- The export will deeply copy expressions. This mimics the
UF_PART_copy_exp_deeply part export option.
- The export will load any parts needed to resolve references ON
DEMAND.
Return Codes -
UG_GDT_NO_ERRORS
PART_err_failed_to_load_part
环境
内部和外部
历史
Created in v16.0.3
需要许可证(S)
geometric_tol
int UF_GDT_export_drawings
(
int num_drawings,
tag_p_t drawings,
tag_t target_part
)
| int (整数型) | num_drawings | Input(输入) | Number of drawings to export |
| tag_p_t | drawings | Input(输入) | Array of drawing tags to export |
| tag_t (tag_t类型) | target_part | Input(输入) | Target part for the export operation |
UF_GDT_free (查看源代码)
定义在: uf_gdt.h
概述
Frees the memory allocated by the GDT module for its various data
structures.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_free
(
UF_GDT_data_type_t type,
void * data
)
| UF_GDT_data_type_t | type | Input(输入) | The type of data structure to free |
| void * | data | Input(输入) | Pointer to a data structure |
UF_GDT_has_depth_tolerance (查看源代码)
定义在: uf_gdt.h
概述
Queries if the given tolerance feature has a depth tolerance.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in V18.0
需要许可证(S)
geometric_tol
int UF_GDT_has_depth_tolerance
(
tag_t tolerance_feature,
logical * has_depth_tolerance
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature tag |
| logical * | has_depth_tolerance | Output(输出) | TRUE if the tolerance feature has a depth tolerance. |
UF_GDT_has_directed_dimension (查看源代码)
定义在: uf_gdt.h
概述
Queries if the given tolerance feature has a directed dimension.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_has_directed_dimension
(
tag_t tolerance_feature,
logical * has_directed_dimension
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature tag |
| logical * | has_directed_dimension | Output(输出) | TRUE if the tolerance feature has a directed dimension. |
UF_GDT_has_geometric_definition (查看源代码)
定义在: uf_gdt.h
概述
Query if the given tolerance feature has a geometric definition.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_has_geometric_definition
(
tag_t tolerance_feature,
logical * has_geometric_definition
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature tag |
| logical * | has_geometric_definition | Output(输出) | TRUE if the tolerance feature has a geometric definition. |
UF_GDT_has_limits_and_fits_tolerance (查看源代码)
定义在: uf_gdt.h
概述
Queries if the given tolerance feature has a limits and fits tolerance.
环境
Internal and External
历史
Originally released in V18.0
需要许可证(S)
geometric_tol
int UF_GDT_has_limits_and_fits_tolerance
(
tag_t tolerance_feature,
logical * has_limits_and_fits_tolerance
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature tag |
| logical * | has_limits_and_fits_tolerance | Output(输出) | TRUE if the tolerance feature has a limits and fits tolerance. |
UF_GDT_has_size_tolerance (查看源代码)
定义在: uf_gdt.h
概述
Queries if the given tolerance feature has a size tolerance.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in V18.0
需要许可证(S)
geometric_tol
int UF_GDT_has_size_tolerance
(
tag_t tolerance_feature,
logical * has_size_tolerance
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature tag |
| logical * | has_size_tolerance | Output(输出) | TRUE if the tolerance feature has a size tolerance. |
UF_GDT_has_wall_thickness (查看源代码)
定义在: uf_gdt.h
概述
Queries if the given tolerance feature has a wall thickness tolerance.
环境
Internal and External
历史
Originally released in V17.0
需要许可证(S)
geometric_tol
int UF_GDT_has_wall_thickness
(
tag_t tolerance_feature,
logical * has_wall_thickness
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature tag |
| logical * | has_wall_thickness | Output(输出) | TRUE if the tolerance feature has a directed dimension. |
UF_GDT_inherit_model_gdt_to_drawing (查看源代码)
定义在: uf_gdt.h
概述
Inherits the GD&T info from a model to drawing member view
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_inherit_model_gdt_to_drawing
(
tag_t member_view
)
UF_GDT_init (查看源代码)
定义在: uf_gdt.h
概述
This function will initialize data structures in UF_GDT
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.4 and v19.0
需要许可证(S)
geometric_tol
int UF_GDT_init
(
UF_GDT_data_type_t type,
void * data
)
| UF_GDT_data_type_t | type | Input(输入) | - Type of data structure to free |
| void * | data | Input / Output | data structure to be initialized to |
UF_GDT_is_complex_feature (查看源代码)
定义在: uf_gdt.h
概述
Returns TRUE if the tolerance feature is a Complex Tolerance Feature.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_TOL_FEAT
环境
Internal and external
历史
Originally released in V18.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_complex_feature
(
tag_t tolerance_tag,
logical * status
)
UF_GDT_is_complex_sub_feature (查看源代码)
定义在: uf_gdt.h
概述
Returns TRUE if the tolerance feature is a Complex Tolerance Subfeature.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_TOL_FEAT
环境
Internal and external
历史
Originally released in V18.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_complex_sub_feature
(
tag_t tolerance_tag,
logical * status
)
UF_GDT_is_composite_tolerance (查看源代码)
定义在: uf_gdt.h
概述
Given a feature control frame, this function determines if the feature
control frame is a composite tolerance. This function does not return a
true value for a non-composite tolerance composite feature control frame.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_composite_tolerance
(
tag_t fcf,
logical * is_composite_tol
)
UF_GDT_is_datum (查看源代码)
定义在: uf_gdt.h
概述
Determines if the feature is a datum feature or a tolerance feature.
Datum features include: target points, target lines, target areas,
centerplanes, and all other datum identifiers. Tolerance features
include those tolerances with feature control frame callouts and
datum features defined with a tolerance.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_datum
(
tag_t tolerance_feature,
logical * is_datum
)
UF_GDT_is_datum_target (查看源代码)
定义在: uf_gdt.h
概述
Determines if the feature is a datum target feature or not.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_NOT_TOL_FEAT
环境
内部和外部
历史
Original release was in 19.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_datum_target
(
tag_t tolerance_feature,
logical * is_datum_target
)
UF_GDT_is_feature_of_size (查看源代码)
定义在: uf_gdt.h
概述
Given a tolerance feature or datum feature, this function determines
if the feature describes a feature of size.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_feature_of_size
(
tag_t tolerance_feature,
logical * feature_of_size
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance Feature to inquire |
| logical * | feature_of_size | Output(输出) | Flag indicating if the feature describes a feature of size. |
UF_GDT_is_gdt_view (查看源代码)
定义在: uf_gdt.h
概述
This function allows the calling program to query a view to determine if it is
a GD&T view.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
NOTE: Since GDT views functionality is obsoleted in NX3, this function will
always return TRUE. Because in NX3 and later, any view will have the
same functionality as previous defined gdt view does.
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_gdt_view
(
tag_t view,
logical * is_gdt_view
)
UF_GDT_is_linked_feature (查看源代码)
定义在: uf_gdt.h
概述
Determine if the tolerance feature specified is a linked feature.
环境
Internal and External
参见
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_linked_feature
(
tag_t tolerance_feature,
logical * is_linked
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to query |
| logical * | is_linked | Output(输出) | TRUE if feature is linked |
UF_GDT_is_modl_based (查看源代码)
定义在: uf_gdt.h
概述
Does this tolerance feature reference modeling features.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
内部和外部
历史
Original release NX2.0.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_modl_based
(
tag_t tolerance_feature,
logical * is_modl_based
)
UF_GDT_is_pulled_tolerance (查看源代码)
定义在: uf_gdt.h
概述
Determines if the tolerance feature being queried has been pulled from a
component part.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_INVALID_OBJECT (object is not a tolerance feature)
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_pulled_tolerance
(
tag_t tolerance_feature,
logical * status
)
UF_GDT_is_retained (查看源代码)
定义在: uf_gdt.h
概述
Determines if the tolerance feature specified is currently retained.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_retained
(
tag_t tolerance_feature,
logical * is_retained
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tag of the tolerance feature to query. |
| logical * | is_retained | Output(输出) | Flag indicating whether the specified tolerance feature is currently retained. |
UF_GDT_is_single_datum_reference_frame (查看源代码)
定义在: uf_gdt.h
概述
Given a datum reference frame, this function determines if the frame is a
single datum reference frame.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_single_datum_reference_frame
(
tag_t frame,
logical * is_single
)
| tag_t (tag_t类型) | frame | Input(输入) | Tag of the datum reference frame to query |
| logical * | is_single | Output(输出) | True if frame is a single datum ref frame |
UF_GDT_is_user_defined_keyword (查看源代码)
定义在: uf_gdt.h
概述
Check whether or not the keyword specified in the input part is a standard
keyword. If the keyword does not exist in the part then an error will
be returned.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_GDT_is_user_defined_keyword
(
tag_t part_tag,
UF_GDT_keyword_id_t keyword_id,
logical * status
)
| tag_t (tag_t类型) | part_tag | Input(输入) | Part to query |
| UF_GDT_keyword_id_t | keyword_id | Input(输入) | Keyword to check if it is a user defined keyword |
| logical * | status | Output(输出) | TRUE if the keyword is user defined FALSE if the keyword is a standard keyword |
UF_GDT_pull_tolerance (查看源代码)
定义在: uf_gdt.h
概述
Pull a tolerance feature up the assembly. This function assumes the current
work part is the part of the assembly and the tolerance feature specified
resides in a component of that assembly. A tolerance feature can only be
pulled from a component of the current assembly.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_DWG_DISPLAYED (can't create instances on drawings)
UF_GDT_INVALID_OBJECT (object is not a tolerance feature)
UF_GDT_ERR_INVALID_INSTANCE (invalid instance specified)
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_pull_tolerance
(
tag_t tolerance_feature,
tag_t instance,
tag_t * new_feature_tag,
logical create_instance
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tag of the tolerance feature in the component. |
| tag_t (tag_t类型) | instance | Input(输入) | Tag of the component where the tolerance feature resides. |
| tag_t * (tag_t型的指针) | new_feature_tag | Output(输出) | Tag of the pulled feature created at the assembly level. |
| logical | create_instance | Input(输入) | If TRUE, an instance of the tolerance feature will be created at the assembly level. |
UF_GDT_remove_leader (查看源代码)
定义在: uf_gdt.h
概述
The following function will remove an instance's nth leader
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NO_INDEXED_LEADER (Instance's nth leader non-existent)
UF_GDT_ERR_NO_REMOVE_ONLY_LDR (Can't remove instance's only leader)
UF_err_program_not_initialized
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_remove_leader
(
tag_t instance,
int nth
)
| tag_t (tag_t类型) | instance | Input(输入) | Tag of instance to remove a leader from |
| int (整数型) | nth | Input(输入) | Index of the leader to be removed |
UF_GDT_reset_callout_rules (查看源代码)
定义在: uf_gdt.h
概述
Reset the specified part's Geometric Tolerancing Callout Rules Table
using the appropriate callout rules file.
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_reset_callout_rules
(
tag_t part
)
UF_GDT_set_appended_text (查看源代码)
定义在: uf_gdt.h
概述
Modify the appended text at the specified location for the input feature
control frame or dimension.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_set_appended_text
(
tag_t fcf_or_dim,
UF_GDT_text_location_t location,
int num_lines,
char * * appended_text
)
| tag_t (tag_t类型) | fcf_or_dim | Input(输入) | FCF of dimension to query |
| UF_GDT_text_location_t | location | Input(输入) | Appended text location to modify |
| int (整数型) | num_lines | Input(输入) | Number of appended text lines |
| char * * | appended_text | Input(输入) | Appended text at location requested |
UF_GDT_set_characteristic (查看源代码)
定义在: uf_gdt.h
概述
Given a feature control frame, this function changes the tolerance
type to the specified characteristic.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_characteristic
(
tag_t fcf,
UF_GDT_characteristic_t * characteristic
)
UF_GDT_set_composite_drf (查看源代码)
定义在: uf_gdt.h
概述
This function sets the composite priority for a composite feature control
frame.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_composite_drf
(
tag_t fcf,
UF_GDT_precedence_t priority
)
UF_GDT_set_datum_identifier (查看源代码)
定义在: uf_gdt.h
概述
Edits the parameters of a datum identifier. If the user specifies a "NULL"
for the datum data, the current datum information will be removed from the
tolerance feature. In this case a size tolerance or a feature control frame
must still be part of the tolerance feature.
The input tag object could be a tolerance feature or a datum object.
If it is a tolerance feature, it works the same way as before except that if the
tolerance feature refers to more than one datum, an error called UF_GDT_ERR_FEAT_NOT_VALID
will returned. If it is a datum object, it will set the information about this datum.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_FEAT_NOT_VALID
UF_GDT_ERR_NULL_LABEL
UF_GDT_ERR_NOT_BASE
环境
内部和外部
历史
Original release was in 14.0. Modified in v18.0
需要许可证(S)
geometric_tol
int UF_GDT_set_datum_identifier
(
tag_t base,
UF_GDT_datum_identifier_t * datum_data
)
| tag_t (tag_t类型) | base | Input(输入) | Either a tolerance feature or a datum object, if it is a tolerance feature and the tolerance feature refers to more than one datums, an error will returned. |
| UF_GDT_datum_identifier_t * | datum_data | Input(输入) | Information to be edited |
UF_GDT_set_datum_keywords (查看源代码)
定义在: uf_gdt.h
概述
This function allows the calling program to set keywords on datum objects.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
UF_GDT_ERR_INVALID_KEYWORD
UF_GDT_ERR_NOT_DATUM
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_datum_keywords
(
tag_t datum,
int num_keywords,
UF_GDT_keyword_p_t keywords
)
UF_GDT_set_datum_label (查看源代码)
定义在: uf_gdt.h
概述
This function changes the label for a datum feature. The label must be unique
in the context of the part file. Duplicate labels are not permitted.
The characters defining the label must be in the set of valid
characters as defined in the customer defaults file.
The input tag object could be a tolerance feature or a datum object.
If it is a tolerance feature, it works the same way as before except that if the
tolerance feature refers to more than one datum, an error called
UF_GDT_ERR_FEAT_NOT_VALID will returned. If it is a datum object,
it will set the information about this datum.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_BASE
UF_GDT_ERR_FEAT_NOT_VALID
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 14.0, modified in release v18.0
需要许可证(S)
geometric_tol
int UF_GDT_set_datum_label
(
tag_t base,
char * datum_label
)
| tag_t (tag_t类型) | base | Input(输入) | Tolerance datum feature or datum object to set |
| char * (字符型指针) | datum_label | Input(输入) | New label for datum feature |
UF_GDT_set_datum_multiple (查看源代码)
定义在: uf_gdt.h
概述
This function edits the parameters of a multiple datum.
Note: The input tag could be a multiple datum feature or a multiple datum
object.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_BASE
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 14.0, modified in release v18.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_datum_multiple
(
tag_t multiple_datum,
UF_GDT_multiple_datum_t * datum_data
)
UF_GDT_set_datum_references (查看源代码)
定义在: uf_gdt.h
概述
Sets the datum references of a given frame for the specified feature
control frame.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_datum_references
(
tag_t fcf,
int nth_frame,
int num_frames,
UF_GDT_datum_reference_t * datum_reference
)
| tag_t (tag_t类型) | fcf | Input(输入) | Feature control frame to edit |
| int (整数型) | nth_frame | Input(输入) | FCF data frame to set |
| int (整数型) | num_frames | Input(输入) | Number of datum references in array |
| UF_GDT_datum_reference_t * | datum_reference | Input(输入) | Primary datum reference of feature control frame |
UF_GDT_set_depth_tolerance_parms (查看源代码)
定义在: uf_gdt.h
概述
Given a tolerance feature or datum feature, this function allows for
the resetting of the depth tolerance parameters.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_GDT_ERR_TOL_VALIDATION_FAILED
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_depth_tolerance_parms
(
tag_t tolerance_feature,
UF_GDT_depth_tolerance_t * depth_data
)
UF_GDT_set_description (查看源代码)
定义在: uf_gdt.h
概述
Allows the user to change the name of a datum feature or tolerance
feature and assign a new description. If a field of the
UF_GDT_description_t structure is null that field is not updated.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_description
(
tag_t tolerance_feature,
UF_GDT_description_t * info
)
UF_GDT_set_directed_dimension (查看源代码)
定义在: uf_gdt.h
概述
Put the information for a directed dimension tolerance on a tolerance feature.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_set_directed_dimension
(
tag_t tolerance_feature,
UF_GDT_directed_dimension_p_t data
)
UF_GDT_set_drf (查看源代码)
定义在: uf_gdt.h
概述
This routine sets the data of a datum reference frame from the given data
structure.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_drf
(
tag_t drf,
UF_GDT_drf_data_p_t drf_data
)
UF_GDT_set_faces (查看源代码)
定义在: uf_gdt.h
概述
Allows the calling application to reassociate the set of faces associated
with the tolerance feature or datum feature. Some tolerance features return
an error if the set of faces is modified (target points, target lines,
centerplanes, etc.)
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_faces
(
tag_t tolerance_feature,
int num_faces,
tag_t * faces
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance Feature to set |
| int (整数型) | num_faces | Input(输入) | Number of faces in face array |
| tag_t * (tag_t型的指针) | faces | Input(输入) | Array of faces to associate with the tolerance feature |
UF_GDT_set_fcf (查看源代码)
定义在: uf_gdt.h
概述
Allows the calling application to set the the type of profile tolerance
and the dimensions of the outer and inner portions of the tolerance
zone for unilateral and unequally disposed bilateral tolerances.
If the profile type is not UF_GDT_PROFILE_UNEQ_BILATERAL,
the outside parameter is ignored.
An error of UF_GDT_ERR_NOT_PROFILE_FCF is returned if the input feature
control frame is not a profile of line or profile of surface callout.
An error of UF_GDT_ERR_INVALID_PROFILE_TOL is returned if the input profile
type is UF_GDT_PROFILE_UNEQ_BILATERAL and outside is not in the
range (0, total_tolerance).
环境
内部和外部
历史
This function was originally released in V15.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_fcf
(
tag_t fcf,
UF_GDT_fcf_t * fcf_data
)
| tag_t (tag_t类型) | fcf | Input(输入) | Feature control frame to set |
| UF_GDT_fcf_t * | fcf_data | Input(输入) | Feature control frame data to set the tolerance feature with. |
UF_GDT_set_fcf_drf (查看源代码)
定义在: uf_gdt.h
概述
This function sets the datum reference frame for a feature control frame.
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_fcf_drf
(
tag_t fcf,
tag_t drf
)
UF_GDT_set_geometric_definition (查看源代码)
定义在: uf_gdt.h
概述
Create the information for a geometric definition on a tolerance feature.
If the geometric definition is that of a region the input structure,
data, contains a trimmed sheet and a thickened sheet. The thickened
sheet must be a thickening of the input trimmed sheet. Creating
associative trimmed sheets and thickened sheets for regions can be
done by using the following routines: UF_WAVE_create_linked_face,
UF_MODL_create_sew, UF_MODL_create_trimmed_sheet, UF_MODL_ask_feat_body,
and UF_MODL_create_thickened_sheet.
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_set_geometric_definition
(
tag_t tolerance_feature,
UF_GDT_geometric_definition_p_t data
)
UF_GDT_set_index_display (查看源代码)
定义在: uf_gdt.h
概述
Sets the index display method.
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_set_index_display
(
UF_GDT_index_display_type_t index_display
)
UF_GDT_set_instance_display_information (查看源代码)
定义在: uf_gdt.h
概述
Sets the show feature info status for the work part to be true or false.
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_set_instance_display_information
(
logical preference
)
| logical | preference | Input(输入) | Display preference setting |
UF_GDT_set_keyword_text (查看源代码)
定义在: uf_gdt.h
概述
Modify the text associated with the keyword specified in the input part.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_set_keyword_text
(
tag_t part_tag,
char * keyword_name,
char * keyword_text
)
| tag_t (tag_t类型) | part_tag | Input(输入) | Part to query |
| char * (字符型指针) | keyword_name | Input(输入) | Keyword whose text to modify |
| char * (字符型指针) | keyword_text | Input(输入) | New text for keyword |
UF_GDT_set_limits_and_fits_tolerance_parms (查看源代码)
定义在: uf_gdt.h
概述
Given a tolerance feature or datum feature, this function allows for
the resetting of the limits and fits tolerance parameters.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
UF_GDT_ERR_NOT_VALID_FEAT_TYPE_FOR_LIM_FITS
UF_GDT_ERR_NOT_VALID_FEAT_TYPE_FOR_LIM_FITS_ENGLISH
UF_GDT_ERR_NOT_VALID_DATA_FOR_PART_UNIT
UF_GDT_ERR_INVALID_LIM_FITS_DATA
UF_GDT_ERR_INCH_PART_WITH_ISO_STANDARD
UF_GDT_ERR_UNVAILABLE_DATA_FOR_CURRENT_SETTING
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_limits_and_fits_tolerance_parms
(
tag_t tolerance_feature,
UF_GDT_limits_and_fits_data_p_t data
)
UF_GDT_set_load_component_flag (查看源代码)
定义在: uf_gdt.h
概述
Set the "auto load component" flag for the current NX work part. This flag
controls whether component parts should be automatically loaded when entering
the tolerancing module.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_set_load_component_flag
(
logical flag
)
| logical | flag | Input(输入) | If set to TRUE then component parts will be automatically loaded when entering the tolerancing module. |
UF_GDT_set_modl_data (查看源代码)
定义在: uf_gdt.h
概述
Modify the reference to the modeling feature data.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
UF_GDT_ERR_MODL_FEATURES_NOT_FULLY_LOADED
UF_GDT_ERR_INVALID_MODL_FEATURE_TYPE
UF_GDT_ERR_MODL_TOL_FEAT_FEATURE_TYPE_MISMATCH
环境
内部和外部
历史
Original release NX2.0.0
需要许可证(S)
geometric_tol
int UF_GDT_set_modl_data
(
tag_t tolerance_feature,
int num_modl_sets,
UF_GDT_modl_data_p_t * modl_sets
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to set |
| int (整数型) | num_modl_sets | Input(输入) | Number of model sets |
| UF_GDT_modl_data_p_t * | modl_sets | Input(输入) | Modeling feature data sets for tolerance creation |
UF_GDT_set_non_feature_edge_selection (查看源代码)
定义在: uf_gdt.h
概述
Sets the selection of non-feature edges for the GD&T session to be true
or false.
环境
Internal and external
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_set_non_feature_edge_selection
(
UF_GDT_edge_select_type_t allow_non_feature_edges
)
| UF_GDT_edge_select_type_t | allow_non_feature_edges | Input(输入) | Should selection of non-feature edges be allowed when creating display instances? |
UF_GDT_set_profile_tol_data (查看源代码)
定义在: uf_gdt.h
概述
Sets the profile type and outside zone for a profile of line or profile
of surface tolerance. The outside zone is only used when the profile type
is set to UF_GDT_PROFILE_UNEQ_BILATERAL.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_INVALID_OBJECT (object is not an fcf)
UF_GDT_NOT_PROFILE_FCF (fcf does not contain a profile of
surface or profile of line
characteristic)
UF_GDT_INVALID_PROFILE_ZON (if profile type = UF_GDT_UNEQ_BILATERAL
and outside does not follow the rule
0.0 < outside < total_tolerance
- ASME Y14.5M 1994)
UF_GDT_INVALID_PROFILE_TOL (if profile type is not supported for
current standard or feature)
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_set_profile_tol_data
(
tag_t fcf,
UF_GDT_profile_type_t profile_type,
UF_GDT_tolerance_value_p_t outside
)
UF_GDT_set_region_parameters (查看源代码)
定义在: uf_gdt.h
概述
This function will set the following parameters for regions of tolerance
features: region thickness, whether or not the region
is to be crosshatched, the crosshatch angle, and the
crosshatch distance
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NON_POSITIVE_PARAMETERS
环境
Internal and External
历史
Originally released in V16.0
需要许可证(S)
geometric_tol
int UF_GDT_set_region_parameters
(
double region_thickness,
logical crosshatch_on,
double crosshatch_angle,
double crosshatch_distance
)
| double (实数型) | region_thickness | Input(输入) | The region thickness which is to be used when regions for GDTs are created |
| logical | crosshatch_on | Input(输入) | TRUE if the region of a GDT is to be crosshatched. |
| double (实数型) | crosshatch_angle | Input(输入) | The angle to be used when crosshatching a region |
| double (实数型) | crosshatch_distance | Input(输入) | The distance between hatch lines to be used when crosshatching a region |
UF_GDT_set_size_data (查看源代码)
定义在: uf_gdt.h
概述
This routine sets the size data based on the limits and fits information.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
环境
内部和外部
历史
Original release was in 18.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_size_data
(
tag_t tolerance_feature,
UF_GDT_limits_and_fits_tolerance_p_t lim_fits
)
| tag_t (tag_t类型) | tolerance_feature | Input(输入) | Tolerance feature to inquire |
| UF_GDT_limits_and_fits_tolerance_p_t | lim_fits | Input / Output to be freed | Information on the limits and fits tolerance. The data allocated for this structure must be freed by calling UF_GDT_free. |
UF_GDT_set_size_tolerance_parms (查看源代码)
定义在: uf_gdt.h
概述
Given a tolerance feature or datum feature, this function allows for
the resetting of the size tolerance parameters.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_size_tolerance_parms
(
tag_t tolerance_feature,
UF_GDT_size_tolerance_t * size_data
)
UF_GDT_set_target_area_xhatch (查看源代码)
定义在: uf_gdt.h
概述
This function sets the crosshatching distance and angle parameters for the
given datum target area instance.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_err_bad_parameter_number_1
UF_err_bad_parameter_number_2
UF_err_bad_parameter_number_3
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_set_target_area_xhatch
(
tag_t target_inst,
double distance,
double angle
)
| tag_t (tag_t类型) | target_inst | Input(输入) | Tag of target instance |
| double (实数型) | distance | Input(输入) | Crosshatching distance |
| double (实数型) | angle | Input(输入) | Crosshatching angle |
UF_GDT_set_thread_tolerance_parms (查看源代码)
定义在: uf_gdt.h
概述
This function allows the calling program to set the thread tolerance
information for a given tolerance feature.
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_TOL_FEAT
UF_err_program_not_initialized
UF_GDT_ERR_INVALID_THREAD_TOL
UF_GDT_ERR_TOL_VALIDATION_FAILED
UF_GDT_ERR_INVALID_FEAT_TYPE_FOR_THREAD_TOL
环境
内部和外部
历史
Original release was in 18.0.5, NX1.0.1 and NX2.0.0
需要许可证(S)
geometric_tol
int UF_GDT_set_thread_tolerance_parms
(
tag_t tolerance_feature,
UF_GDT_thread_tolerance_p_t data
)
UF_GDT_set_tolerance_zones (查看源代码)
定义在: uf_gdt.h
概述
This function edits the tolerance zone of a given feature control
frame.
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_ERR_NOT_FCF
UF_err_program_not_initialized
环境
内部和外部
需要许可证(S)
geometric_tol
int UF_GDT_set_tolerance_zones
(
tag_t fcf,
int num_zones,
UF_GDT_tolerance_zone_p_t zones,
UF_GDT_modifier_data_p_t mod_data
)
UF_GDT_set_tolerancing_standard (查看源代码)
定义在: uf_gdt.h
概述
This function allows the user to change the value of the tolerancing standard
used by the GDT Module. The standard can only be set if there are no
tolerance features created on the part.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_tolerancing_standard
(
UF_GDT_standard_t standard
)
UF_GDT_set_unit_basis (查看源代码)
定义在: uf_gdt.h
概述
Sets unit basis data for the given fcf
返回
Return Codes -
UF_GDT_NO_ERRORS
UF_GDT_null_object
UF_GDT_invalid_object
UF_err_program_not_initialized
环境
Internal and External
需要许可证(S)
geometric_tol
int UF_GDT_set_unit_basis
(
tag_t fcf,
UF_GDT_modifier_types_t modifier,
UF_GDT_unit_basis_p_t data
)
UF_GDT_set_wall_thickness_parms (查看源代码)
定义在: uf_gdt.h
概述
Given a tolerance feature or datum feature, this function allows for
the resetting of the wall thickness tolerance parameters.
环境
Internal and External
历史
Original release was in 17.0.
需要许可证(S)
geometric_tol
int UF_GDT_set_wall_thickness_parms
(
tag_t tolerance_feature,
UF_GDT_size_tolerance_t * thickness_data
)
UF_GDT_update_features (查看源代码)
定义在: uf_gdt.h
概述
This routine updates the given list of tolerance features. If update
is currently in progress, or any of the entites in the list are not
tolerance features, no update will be done.
返回
0 = Success
error code otherwise
环境
内部和外部
历史
Created in v16.0.4.2
需要许可证(S)
geometric_tol
int UF_GDT_update_features
(
int num_features,
tag_p_t features
)
| int (整数型) | num_features | Input(输入) | Number of tolerance features to update |
| tag_p_t | features | Input(输入) | List of tolerance feature tags to update |
UF_GDT_upgrade_legacy_feature (查看源代码)
定义在: uf_gdt.h
概述
Allows an "old" style Geometric Tolerancing symbol or feature to be upgraded
to be included in the new tolerancing module. If the "old" symbol or feature
is inconsistent with the current model, the feature may be created in a
retained state. Retained annotations cannot be upgraded.
环境
内部和外部
历史
Original release was in 14.0.
需要许可证(S)
geometric_tol
int UF_GDT_upgrade_legacy_feature
(
int num_annot,
tag_t * annotation_features,
int num_faces,
tag_t * face_list,
UF_GDT_feature_type_t feature,
double origin [ 3 ] ,
UF_GDT_description_t * descript,
tag_t * tolerance_feature
)
| int (整数型) | num_annot | Input(输入) | Number of annotations to be upgraded |
| tag_t * (tag_t型的指针) | annotation_features | Input(输入) | Identifier of the set of old dimensions and symbols that get converted |
| int (整数型) | num_faces | Input(输入) | Number of identifiers in face list array |
| tag_t * (tag_t型的指针) | face_list | Input(输入) | Array of identifiers that define the face_list of the tolerance feature |
| UF_GDT_feature_type_t | feature | Input(输入) | Feature type of the tolerance feature |
| double (实数型) | origin [ 3 ] | Input(输入) | Origin of tolerance feature instance |
| UF_GDT_description_t * | descript | Input(输入) | Description of the noew tolerance feature |
| tag_t * (tag_t型的指针) | tolerance_feature | Output(输出) | Identifier of upgraded feature |