NX二次开发UF_MODL_ask_features_of_udf 函数介绍

42 阅读1分钟

UF_MODL_ask_features_of_udf

Defined in: uf_modl_udf.h 
int UF_MODL_ask_features_of_udf(tag_t udf_tag, tag_t * * features, int * num_feature )

overview 概述

Query the features that make up the given UDF. The UDF is a collection of features. Note: The features of udfs have the same name as the udf. This routine works only with new-style UDFs released in V15


查询组成给定 UDF 的特性。UDF 是一组特性。注意: udf 的特性与 udf 具有相同的名称。这个例程只适用于 V15中发布的新样式 UDF

UFUN例子

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

parameters 参数

tag_tudf_tagInputThe object identifier of either a UDF_INS or UDF_DEF feature.
UDF _ INS 或 UDF _ DEF 特性的对象标识符。
tag_t * *featuresOutput to UF_freeArray of features inside the udf. This array must be freed by calling UF_free.
这个数组必须通过调用 UF _ free 来释放。
int *num_featureOutputNumber of features
特性数量