NX二次开发UF_MODL_ask_boolean_with_retained_options 函数介绍

90 阅读1分钟

UF_MODL_ask_boolean_with_retained_options

Defined in: uf_modl.h 
int UF_MODL_ask_boolean_with_retained_options(tag_t feature_eid, UF_FEATURE_SIGN * sign, tag_t * original_target, tag_t * original_tool, logical * retain_target_body, logical * retain_tool_body )

overview 概述

Returns the information stored in the record of the input boolean feature.


返回存储在输入布尔特性记录中的信息。

UFUN例子

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

parameters 参数

tag_tfeature_eidInputBoolean feature
布尔特征
UF_FEATURE_SIGN *signOutputType of boolean: - UF_POSITIVE : unite - UF_NEGATIVE : subtract - UF_UNSIGNED : intersect
布尔类型:-UF _ 阳性: 统一-UF _ 阴性: 减去-UF _ UNSIGNED: 交叉
tag_t *original_targetOutputOriginal target body
Original target body
tag_t *original_toolOutputOriginal tool body
原始工具主体
logical *retain_target_bodyOutputIndicate 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-产生的主体是修改后的目标主体。
logical *retain_tool_bodyOutputIndicate whether to retain the tool body. If TRUE - the tool body is not consumed. FALSE - the tool body is consumed
指示是否保留刀具主体。如果为真,则不消耗刀具本体。假-刀具本体被消耗