NX二次开发UF_MODL_ask_law_extension 函数介绍

73 阅读1分钟

UF_MODL_ask_law_extension

Defined in: uf_modl_freeform.h 
int UF_MODL_ask_law_extension(tag_t law_extension, UF_MODL_lawext_data_p_t law_extension_data )

overview 概述

Inquires Law Extension feature and populates Law Extension Open API data structure. A copy of length and angle law is provided in the data structure. The memory allocated for the structure may be freed using UF_MODL_free_law_extension().

This function will always return an array of faces no matter if that array is defined by a collection. See UF_MODL_ask_law_extension1() for the collector enabled version of this function.


查询法律扩展功能并填充法律扩展开放 API 数据结构。在数据结构中提供了长度和角度定律的副本。分配给结构的内存可以使用 UF _ MODL _ free _ law _ tended ()释放。无论数组是否由集合定义,此函数总是返回一个 faces 数组。有关此函数启用收集器的版本,请参见 UF _ MODL _ ask _ law _ extsion1()。

UFUN例子

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

parameters 参数

tag_tlaw_extensionInputLaw Extension feature object identifier.
法律扩展特征对象标识符。
UF_MODL_lawext_data_p_tlaw_extension_dataOutputLaw Extension Open API data structure.
法律扩展开放 API 数据结构。