UF_SMD_ask_bend_line_data (查看源代码)
 
定义在: uf_smd.h
 
概述
Returns the bend allowance formula (BAF), bend angle, inside radius,
thickness of the solid body, computed bend allowance distance, and
inside/outside indicator for the bend line associated of a flat pattern
object.




Figure: Illustration of Bend Line Terminology

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

 
int UF_SMD_ask_bend_line_data
(
tag_t bend_line,
char * * bend_formula,
double * angle,
double * inside_radius,
double * thickness,
double * bend_allowance,
int * material_side
)
tag_t (tag_t类型)bend_lineInput(输入)Object ID of a bend line (curve).
char * *bend_formulaOutput to be freed
输出并释放
Pointer to a character string defining the Bend
Allowance Formula. This must be freed by calling UF_free.
double * (实数型指针)angleOutput(输出)Bend angle (in Radians).
double * (实数型指针)inside_radiusOutput(输出)Radius of the bend area.
double * (实数型指针)thicknessOutput(输出)Thickness of the material
double * (实数型指针)bend_allowanceOutput(输出)The dimensional amount added to the part through
elongation during the bending process derived from
the bend allowance formula.
int * (整数型指针)material_sideOutput(输出)Indicator of the material side for the bend line.
0 = Inside
1 = Outside

 


 
UF_SMD_ask_bend_lines (查看源代码)
 
定义在: uf_smd.h
 
概述
Acquires an array of bend line object tags from the given flat pattern.
Returns NULL_TAG if the flat pattern does not contain bend lines.

环境
内部和外部

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

 
int UF_SMD_ask_bend_lines
(
tag_t flat_pattern,
int * num_bend_lines,
tag_p_t * bend_lines
)
tag_t (tag_t类型)flat_patternInput(输入)Object ID of the flat pattern.
int * (整数型指针)num_bend_linesOutput(输出)Number of bend line object IDs.
tag_p_t *bend_linesOutput to be freed
输出并释放
Array of bend line object IDs. This array must be freed
by calling UF_free.

 


 
UF_SMD_ask_bend_tan_lines (查看源代码)
 
定义在: uf_smd.h
 
概述
Acquires an array of bend tangent line object tags from the given flat
pattern. Returns NULL_TAG if the flat pattern does not contain bend
tangent lines.

环境
内部和外部

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

 
int UF_SMD_ask_bend_tan_lines
(
tag_t flat_pattern,
int * num_bend_tan_lines,
tag_p_t * bend_tan_lines
)
tag_t (tag_t类型)flat_patternInput(输入)Object ID of the flat pattern.
int * (整数型指针)num_bend_tan_linesOutput(输出)Number of bend tangent line object IDs.
tag_p_t *bend_tan_linesOutput to be freed
输出并释放
Array of bend tangent line object IDs. This array
must be freed by calling UF_free.

 


 
UF_SMD_ask_child_pip_nodes (查看源代码)
 
定义在: uf_smd.h
 
概述
This routine returns the array of PIP nodes that are children of the
given parent node. If you want all processes, pass in NULL_TAG as the
parent. Pass in a process tag to get an array of groups. Pass in a
group tag to get an array of steps.

环境
内部和外部

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

 
int UF_SMD_ask_child_pip_nodes
(
tag_t parent,
int * n_pip_nodes,
tag_t * * pip_nodes
)
tag_t (tag_t类型)parentInput(输入)The parent PIP node
int * (整数型指针)n_pip_nodesOutput(输出)The size of the array of node tags
tag_t * *pip_nodesOutput to be freed
输出并释放
The array of child PIP nodes

 


 
UF_SMD_ask_contour_lines (查看源代码)
 
定义在: uf_smd.h
 
概述
Acquires an array of contour line object tags from the given flat
pattern. Returns NULL_TAG if the flat pattern does not contain
contour lines.

环境
内部和外部

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

 
int UF_SMD_ask_contour_lines
(
tag_t flat_pattern,
int * num_contour_lines,
tag_p_t * contour_lines
)
tag_t (tag_t类型)flat_patternInput(输入)Object ID of the flat pattern.
int * (整数型指针)num_contour_linesOutput(输出)Number of contour line object IDs.
tag_p_t *contour_linesOutput to be freed
输出并释放
Array of contour line object IDs. This array must be
freed by calling UF_free.

 


 
UF_SMD_ask_flat_pattern (查看源代码)
 
定义在: uf_smd.h
 
概述
Acquires the tag of current flat pattern group entity given the object
identifier of a solid body. Returns NULL_TAG if a flat pattern does
not exist for the associated body.

环境
内部和外部

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

 
int UF_SMD_ask_flat_pattern
(
tag_t body,
tag_p_t flat_pattern
)
tag_t (tag_t类型)bodyInput(输入)Object ID of a solid body.
tag_p_tflat_patternOutput(输出)Object ID of the flat pattern group.

 


 
UF_SMD_ask_formable_feats (查看源代码)
 
定义在: uf_smd.h
 
概述
Returns a linked list of all formable features used in the composition
of the specified solid body. An example of a formable feature would
be a flange. The handling of the linked list can be done by using the
UF_MODL__list_ routines.

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

 
int UF_SMD_ask_formable_feats
(
tag_t body,
uf_list_p_t * feat_list
)
tag_t (tag_t类型)bodyInput(输入)Object ID of a solid body.
uf_list_p_t *feat_listOutput to be freed
输出并释放
A linked list of formable features which take part in
the composition of the specified solid body. Use
UF_MODL_delete_list to free the space allocated
for the linked list.

 


 
UF_SMD_ask_formblk_lines (查看源代码)
 
定义在: uf_smd.h
 
概述
Acquires an array of form block line object tags from the given flat
pattern. Returns NULL_TAG if the flat pattern does not contain form
block lines.

环境
内部和外部

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

 
int UF_SMD_ask_formblk_lines
(
tag_t flat_pattern,
int * num_formblk_lines,
tag_p_t * formblk_lines
)
tag_t (tag_t类型)flat_patternInput(输入)Object ID of the flat pattern.
int * (整数型指针)num_formblk_linesOutput(输出)Number of form block line object IDs.
tag_p_t *formblk_linesOutput to be freed
输出并释放
Array of form block line object IDs. This array must
be freed by calling UF_free.

 


 
UF_SMD_ask_fp_add_curves (查看源代码)
 
定义在: uf_smd.h
 
概述
Acquires an array of object tags of additional curves which were
mapped to the flat pattern associated with the given body. Returns NULL_TAG
if the flat pattern does not contain additional curves.

环境
内部和外部

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

 
int UF_SMD_ask_fp_add_curves
(
tag_t body,
int * num_additional_curves,
tag_p_t * additional_curves
)
tag_t (tag_t类型)bodyInput(输入)Object ID of the solid body.
int * (整数型指针)num_additional_curvesOutput(输出)Number of additional curve object IDs.
tag_p_t *additional_curvesOutput to be freed
输出并释放
Array of additional curve object IDs. This array
must be freed by calling UF_free.

 


 
UF_SMD_ask_fp_children (查看源代码)
 
定义在: uf_smd.h
 
概述
Return the children of an object mapped by a flat pattern. The flat
pattern specified must be the Master Flat Pattern which is the newest
flat pattern for a given body. (This can be found using
UF_SMD_ask_flat_pattern().) The parent specified may be an edge of
the body being flattened or an additional curve (including Contour,
Mold and Form Block curves). The returned children will be those
members of the flat pattern group which correspond to the input
object.

Returns
SMDFLAT_ERR_NOT_MASTER_FLAT_PATTERN

环境
内部和外部

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

 
int UF_SMD_ask_fp_children
(
tag_t flat_pattern,
tag_t parent,
int * num_children,
tag_t * * children
)
tag_t (tag_t类型)flat_patternInput(输入)Object ID of the flat pattern.
tag_t (tag_t类型)parentInput(输入)Object ID of the flat pattern.
int * (整数型指针)num_childrenOutput(输出)Number of child object IDs in the flat pattern.
(Or 0 if there is an error.)
tag_t * *childrenOutput to be freed
输出并释放
Array of child object IDs. This array must be freed
by calling UF_free.
(Or NULL if there is an error.)

 


 
UF_SMD_ask_fp_faces (查看源代码)
 
定义在: uf_smd.h
 
概述
Acquires an array of object tags of the faces which were used to
generate the flat pattern.

环境
内部和外部

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

 
int UF_SMD_ask_fp_faces
(
tag_t body,
int * num_faces,
tag_p_t * faces
)
tag_t (tag_t类型)bodyInput(输入)Object ID of the solid body.
int * (整数型指针)num_facesOutput(输出)Number of flat pattern faces.
tag_p_t *facesOutput to be freed
输出并释放
Array of flat pattern faces. This array must be freed by
calling UF_free.

 


 
UF_SMD_ask_fp_parent (查看源代码)
 
定义在: uf_smd.h
 
概述
Return the parent (edge or additional curve) of a curve or point in a
flat pattern group. The object must be in the Master Flat Pattern
which is the newest flat pattern for a given body. The returned parent
is the object that corresponds with the child object. If the object is
an additional curve (including Contour, Mold and Form Block curves) or
point of the flat pattern the parent will be a curve or point,
otherwise the parent will be an edge.

Returns
SMDFLAT_ERR_NOT_FLAT_PATTERN
SMDFLAT_ERR_NOT_MASTER_FLAT_PATTERN
SMDFLAT_ERR_NOT_MASTER_FLAT_PATTERN_ELEMENT

环境
内部和外部

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

 
int UF_SMD_ask_fp_parent
(
tag_t child,
tag_p_t parent
)
tag_t (tag_t类型)childInput(输入)Object ID of the child entity in the flat pattern.
tag_p_tparentOutput(输出)Parent entity of the input child.
(Or NULL_TAG if there is an error.)

 


 
UF_SMD_ask_fp_prefs (查看源代码)
 
定义在: uf_smd.h
 
概述
Inquires the flat pattern preferences currently available for Sheet
Metal Design. The routine returns a data structure and individual
elements that must be freed by a call to UF_free.

环境
内部和外部

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

 
int UF_SMD_ask_fp_prefs
(
UF_SMD_fp_prefs_p_t * fp_options
)
UF_SMD_fp_prefs_p_t *fp_optionsOutput to be freed
输出并释放
Structure that contains the SMD flat pattern
preferences.

 


 
UF_SMD_ask_general_prefs (查看源代码)
 
定义在: uf_smd.h
 
概述
Inquires the current settings of general SMD preferences. These
preferences currently consist of the default bend allowance formula
for the creation of a flat pattern grouped object, the specified
material, and whether or not to display the bend sequence labels.

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

 
int UF_SMD_ask_general_prefs
(
UF_SMD_gen_prefs_p_t * general_prefs
)
UF_SMD_gen_prefs_p_t *general_prefsOutput to be freed
输出并释放
The address of a pointer to typed data.

 


 
UF_SMD_ask_pip_node_data (查看源代码)
 
定义在: uf_smd.h
 
概述
Ask for data associated with a node on the Part In Process Navigator tree.

环境
内部和外部

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

 
int UF_SMD_ask_pip_node_data
(
tag_t node,
UF_SMD_pip_node_data_t * node_data
)
tag_t (tag_t类型)nodeInput(输入)The tag of the PIP node for which
data is needed.
UF_SMD_pip_node_data_t *node_dataOutput(输出)Data associated with this node.

 


 
UF_SMD_ask_standards (查看源代码)
 
定义在: uf_smd.h
 
概述
Queries the standards file with the given query text string. This
routine returns a data structure and individual elements that must be
freed by a call to UF_SMD_free_std_results.

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

 
int UF_SMD_ask_standards
(
char * query_string,
UF_SMD_results_p_t* results
)
char * (字符型指针)query_stringInput(输入)Query string
UF_SMD_results_p_t*resultsOutput to be freed
输出并释放
Pointer to pointer to an array of results data
structures. This must be freed by calling
UF_SMD_free_std_results.

 


 
UF_SMD_chk_entire_part_stds (查看源代码)
 
定义在: uf_smd.h
 
概述
Checks the entire part against the sheet metal standards file. This
routine returns a data structure and individual elements that must be
freed by a call to UF_SMD_free_std_chk_results.

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

 
int UF_SMD_chk_entire_part_stds
(
UF_SMD_chk_std_results_p_t * results
)
UF_SMD_chk_std_results_p_t *resultsOutput to be freed
输出并释放
Pointer to pointer to results data
structure. This must be freed by
calling UF_SMD_free_std_chk_results.

 


 
UF_SMD_chk_feature_stds (查看源代码)
 
定义在: uf_smd.h
 
概述
This routine will utilize the "chk_std" function in the stds file to
compare the feature's parameter values with the stds and return the
test string from the standards file.

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

 
int UF_SMD_chk_feature_stds
(
tag_t * features,
int num_features,
UF_SMD_chk_std_results_p_t * results
)
tag_t * (tag_t型的指针)featuresInput(输入)Array of feature tags
int (整数型)num_featuresInput(输入)Number of features
UF_SMD_chk_std_results_p_t *resultsOutput to be freed
输出并释放
Ptr to results. This must be
freed by calling
UF_SMD_free_std_chk_results

 


 
UF_SMD_create_flat_pattern (查看源代码)
 
定义在: uf_smd.h
 
概述
Creates a flat pattern grouped object (collection of wireframe
entities) for the solid body associated with the root face. A
NULL_TAG is returned if a flat pattern is not generated from the
solid body. If a non-fatal error occurs during the creation of a flat
pattern grouped object, a valid tag is returned along with an error
code.

环境
内部和外部

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

 
int UF_SMD_create_flat_pattern
(
char * name,
int layer,
tag_t start_face,
tag_p_t flat_pattern
)
char * (字符型指针)nameInput(输入)Name of the flat pattern
int (整数型)layerInput(输入)Layer on which to create the flat pattern grouped
object.
tag_t (tag_t类型)start_faceInput(输入)Object ID of the start face for traversing the part to
create the flat pattern.
tag_p_tflat_patternOutput(输出)Object ID of the flat pattern grouped object.

 


 
UF_SMD_create_pip_node (查看源代码)
 
定义在: uf_smd.h
 
概述
Create a node (process, group, or step) on the Part In
Process Navigator tree.

环境
内部和外部

历史
Original release was in NX 1.0.2.
 
需要许可证(S)
sheet_metal_design

 
int UF_SMD_create_pip_node
(
UF_SMD_pip_node_data_p_t node_data,
tag_t * node_tag
)
UF_SMD_pip_node_data_p_tnode_dataInput(输入)Data used to create node
The parent of a UF_SMD_pip_process
must be NULL_TAG. The parent of a
UF_SMD_pip_group must be a process.
The parent of a UF_SMD_pip_step must
be a group. UF_SMD_pip_unform_process
and UF_SMD_pip_form_process node are
created automatically and cannot be
created with this function.
tag_t * (tag_t型的指针)node_tagOutput(输出)Tag of the new PIP node

 


 
UF_SMD_create_representation (查看源代码)
 
定义在: uf_smd.h
 
概述
This routine creates a Sheet Metal Representation of a Modeling feature.
It currently supports Modeling Hole and Slot features.

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

 
int UF_SMD_create_representation
(
tag_t feature,
int hint_flag,
tag_t * new_feature
)
tag_t (tag_t类型)featureInput(输入)the tag of Modeling feature
int (整数型)hint_flagInput(输入)hint flag
CURRENTLY UNUSED
tag_t * (tag_t型的指针)new_featureOutput(输出)the tag of output SMD feature
CURRENTLY EQUALS MODELING FEATURE TAG

 


 
UF_SMD_delete_flat_pattern (查看源代码)
 
定义在: uf_smd.h
 
概述
Deletes the flat pattern grouped object along with the associated
wireframe geometric entities.

环境
内部和外部

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

 
int UF_SMD_delete_flat_pattern
(
tag_t flat_pattern
)
tag_t (tag_t类型)flat_patternInput(输入)Body of the flat pattern to be deleted.

 


 
UF_SMD_delete_pip_node (查看源代码)
 
定义在: uf_smd.h
 
概述
Delete the specified PIP node. When you delete a Process, all children
Groups and Steps are deleted. When you delete a Group, its Steps are
deleted.

环境
内部和外部

历史
Original release was in NX 1.0.2.
 
需要许可证(S)
sheet_metal_design

 
int UF_SMD_delete_pip_node
(
tag_t node
)
tag_t (tag_t类型)nodeInput(输入)The tag of the PIP node to be
deleted.

 


 
UF_SMD_delete_representation (查看源代码)
 
定义在: uf_smd.h
 
概述
This routine deletes a Sheet Metal Representation of a Modeling feature.
It currently supports SMD Hole and Slot representations.

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

 
int UF_SMD_delete_representation
(
tag_t feature,
tag_t * new_feature
)
tag_t (tag_t类型)featureInput(输入)the tag of SMD feature
tag_t * (tag_t型的指针)new_featureOutput(输出)the tag of the output Modeling feature
CURRENTLY EQUALS SMD FEATURE TAG

 


 
UF_SMD_edit_pip_node (查看源代码)
 
定义在: uf_smd.h
 
概述
This routine edits the data associated with a PIP node.

环境
内部和外部

历史
Original release was in NX 1.0.2.
 
需要许可证(S)
sheet_metal_design

 
int UF_SMD_edit_pip_node
(
tag_t node,
UF_SMD_pip_node_data_t * node_data
)
tag_t (tag_t类型)nodeInput(输入)The tag of the PIP node for which
data is to be edited.
UF_SMD_pip_node_data_t *node_dataInput(输入)New data associated with this node.
Note that you cannot change the
node_type or the parent. These
fields will be ignored.

 


 
UF_SMD_eval_trim_angles (查看源代码)
 
定义在: uf_smd.h
 
概述
This routine will return the total number of points created. Associated
to each point is a point tag, curve tag, face tag and calculated trim angle.

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

 
int UF_SMD_eval_trim_angles
(
tag_p_t curves,
int num_curves,
tag_p_t faces,
int num_faces,
double dir_vec [ 3 ] ,
double equal_arc_len,
int * num_of_pts,
tag_t * * pts,
tag_t * * assoc_curves,
tag_t * * assoc_faces,
double * * trim_ang_array
)
tag_p_tcurvesInput(输入)array of curves
int (整数型)num_curvesInput(输入)number of curves/edges
tag_p_tfacesInput(输入)array of faces
int (整数型)num_facesInput(输入)number of faces
double (实数型)dir_vec [ 3 ] Input(输入)trimming direction
double (实数型)equal_arc_lenInput(输入)equal arc length
int * (整数型指针)num_of_ptsOutput(输出)number of points
tag_t * *ptsOutput to be freed
输出并释放
Array of point tags. This array must
be freed by calling UF_free.
tag_t * *assoc_curvesOutput to be freed
输出并释放
Array of associated curves tags. This
array must be freed by calling UF_free.
tag_t * *assoc_facesOutput to be freed
输出并释放
Array of associated faces tags . This
array must be freed by calling UF_free.
double * *trim_ang_arrayOutput to be freed
输出并释放
Array of trim angles at each point.
This array must be freed by calling
UF_free.

 


 
UF_SMD_exec_formed (查看源代码)
 
定义在: uf_smd.h
 
概述
Execute to the FORMED sequence in the forming table. This results
in the body being placed in its fully formed state (folded
representation).

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

 
int UF_SMD_exec_formed
(
tag_t body
)
tag_t (tag_t类型)bodyInput(输入)Object ID of current form table.

 


 
UF_SMD_exec_unformed (查看源代码)
 
定义在: uf_smd.h
 
概述
Execute to the UNFORMED sequence in the forming table. This
results in the body being placed in its fully unformed state (flattened
representation).

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

 
int UF_SMD_exec_unformed
(
tag_t body
)
tag_t (tag_t类型)bodyInput(输入)Object ID of current form table.

 


 
UF_SMD_execute_pip_node (查看源代码)
 
定义在: uf_smd.h
 
概述
Execute the specified PIP node. Note that PIP Processes cannot be
executed. If you execute a Group, all Steps within the Group are
executed.

环境
内部和外部

历史
Original release was in NX 1.0.2.
 
需要许可证(S)
sheet_metal_design

 
int UF_SMD_execute_pip_node
(
tag_t node
)
tag_t (tag_t类型)nodeInput(输入)The tag of the PIP node for which
data is needed.

 


 
UF_SMD_free_std_chk_results (查看源代码)
 
定义在: uf_smd.h
 
概述
Frees all memory associated with the results of a standards check.

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

 
int UF_SMD_free_std_chk_results
(
UF_SMD_chk_std_results_t * results
)
UF_SMD_chk_std_results_t *resultsInput(输入)Pointer to check standard results structure

 


 
UF_SMD_free_std_results (查看源代码)
 
定义在: uf_smd.h
 
概述
Frees all memory associated with the results of a standards query.

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

 
int UF_SMD_free_std_results
(
UF_SMD_results_t * results
)
UF_SMD_results_t *resultsInput(输入)Pointer to results structure

 


 
UF_SMD_initialize (查看源代码)
 
定义在: uf_smd.h
 
概述
Initializes the SMD environment and verifies that an SMD license
exists. If you do not call UF_SMD_initialize, then subsequent calls to
SMD Open API routines fail with an error code of
UF_err_program_not_initialized.

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

 
int UF_SMD_initialize
(
void
)

 


 
UF_SMD_is_initialized (查看源代码)
 
定义在: uf_smd.h
 
概述
Checks if the SMD environment has been successfully initialized.

返回
Return Code
0 = SMD is not initialized
1 = SMD has been properly initialized

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

 
int UF_SMD_is_initialized
(
void
)

 


 
UF_SMD_load_standards (查看源代码)
 
定义在: uf_smd.h
 
概述
Load the given standards file into memory. If no file specification is
given, then it loads the file pointed to by $UGII_UGSMD_STDS_LIBRARY.
If the environment variable doesn't point to a specific file, the
routine will load the file ugsmd_def.std from one of the following
directories, searching them in order:
current working directory
$UGII_UGSMD_STDS_LIBRARY
$UGII_ROOT_DIR

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

 
int UF_SMD_load_standards
(
char * fspec
)
char * (字符型指针)fspecInput(输入)File specification of standards file, or
"" to use default standards file.

 


 
UF_SMD_set_fp_prefs (查看源代码)
 
定义在: uf_smd.h
 
概述
Defines the flat pattern preferences currently available for Sheet
Metal Design. The routine requires that the data structure and
individual elements be allocated by the calling routine.

环境
内部和外部

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

 
int UF_SMD_set_fp_prefs
(
UF_SMD_fp_prefs_p_t fp_options
)
UF_SMD_fp_prefs_p_tfp_optionsInput(输入)Structure that contains the SMD flat pattern
preferences.

 


 
UF_SMD_set_general_prefs (查看源代码)
 
定义在: uf_smd.h
 
概述
Defines the general SMD preferences. These preferences currently
consist of the default bend allowance formula for the creation of a flat
pattern grouped object, the specified material, and whether or not to
display the bend sequence labels.

(Radius + (Thickness 0.44))rad(Angle)

The default bend formula must be a valid RHS (right hand side) for an NX
Expression.

Radius, Thickness, and Angle when used, must be represented exactly as shown
with the first letter capitalized. They are not actually expression variables
in the usual sense, but are substituted variables for each flange when the
expression is evaluated.

Radius is the inside bend radius; Thickness is the material thickness;
Angle is the bend angle; and rad is a built-in NX Expression
function. The value .44 represents the Neutral Axis Factor, an
empirical value which may be adjusted for the material type and
thickness to correctly calculate the developed length of the bend
portion of a flange feature due to folding.

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

 
int UF_SMD_set_general_prefs
(
UF_SMD_gen_prefs_p_t general_prefs
)
UF_SMD_gen_prefs_p_tgeneral_prefsInput(输入)A pointer to typed data.

 


 
UF_SMD_terminate (查看源代码)
 
定义在: uf_smd.h
 
概述
Terminates the SMD environment. Once UF_SMD_terminate is called
from an external Open API program, the program should exit. It
is recommended that you do not attempt to call UF_SMD_initialize
again and continue operation.

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

 
int UF_SMD_terminate
(
void
)

 


 
UF_SMD_update_flat_pattern (查看源代码)
 
定义在: uf_smd.h
 
概述
Determines if any modification to the solid
body has been performed and then updates the flat pattern
accordingly. A pointer to a NULL_TAG is returned if a flat pattern is
not generated from the solid body.

环境
内部和外部

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

 
int UF_SMD_update_flat_pattern
(
tag_t body,
tag_p_t flat_pattern
)
tag_t (tag_t类型)bodyInput(输入)Object ID of the body that the flat pattern was
created from.
tag_p_tflat_patternOutput(输出)Object ID of the flat pattern group object.