NX二次开发UF_MODL_unite_bodies_with_retained_options 函数介绍

94 阅读1分钟

UF_MODL_unite_bodies_with_retained_options

Defined in: uf_modl.h 
int UF_MODL_unite_bodies_with_retained_options(tag_t original_target, tag_t original_tool, logical retain_target_body, logical retain_tool_body, tag_t * frec_eid )

overview 概述

Unites two bodies with options to keep the original target body, tool body, or both bodies.


使用选项将两个主体联合起来,以保留原始目标主体、工具主体或两个主体。

UFUN例子

获取源码例子请搜索 里海NX二次开发3000例专栏

parameters 参数

tag_toriginal_targetInputOriginal target body
Original target body
tag_toriginal_toolInputOriginal tool body
原始工具主体
logicalretain_target_bodyInputIndicate whether to retain the target body. If TRUE - the resulting body is the new body and target body is retained, FALSE - the resulting body is the modified target body.
指示是否保留目标主体。如果 TRUE-产生的主体是新的主体,目标主体被保留,那么 FALSE-产生的主体是修改后的目标主体。
logicalretain_tool_bodyInputIndicate whether to retain the tool body. If TRUE - the tool body is not consumed. FALSE - the tool body is consumed
指示是否保留刀具主体。如果为真,则不消耗刀具本体。假-刀具本体被消耗
tag_t *frec_eidOutputThe resulting feature record tag
产生的特性记录标记