NX二次开发UF_MODL_ask_loop_list_item 函数介绍

67 阅读1分钟

UF_MODL_ask_loop_list_item

Defined in: uf_modl_utilities.h 
int UF_MODL_ask_loop_list_item(uf_loop_p_t loop_list, int index, int * type, uf_list_p_t * list )

overview 概述

Retrieves an object from a linked list of objects. A list of objects may contain identifiers for bodies, features, faces and edges. Loop type for a face is Peripheral only for a non-periodic (topologically flat) face. Loops on a periodic face are either Holes or "Other".


从对象的链表中检索对象。对象列表可能包含身体、特征、面部和边缘的标识符。表面的环形类型仅适用于非周期(拓扑平坦)表面。周期表面上的环状物要么是孔,要么是“其他”。

UFUN例子

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

parameters 参数

uf_loop_p_tloop_listInputList of object identifiers
对象标识符列表
intindexInputCount into the list
算在名单上
int *typeOutputPeripheral=1, Hole=2, Other=3
外围 = 1,孔 = 2,其他 = 3
uf_list_p_t *listOutput to UF_freePointer to the list of edge object identifiers. This should not be freed, as it will be freed when the entire loop list is freed by calling UF_MODL_delete_loop_list.
指向边缘对象标识符列表的指针。这不应该被释放,因为当通过调用 UF _ MODL _ delete _ loop _ list 释放整个循环列表时,它将被释放。