UF_MODL_ask_body_faces
Defined in: uf_modl.h
int UF_MODL_ask_body_faces(tag_t body, uf_list_p_t * face_list )
overview 概述
Calling UF_MODL_ask_body_faces, with a solid body (type 70, subtype 0) as input, returns a list of faces associated to that body. The handling of this list can be done by using the UF_MODL__list routines. The appropriate input to this routine can be obtained by calling UF_MODL_ask_object() and inputting the above type, and subtype.
If body is an occurrence, then the return values are relative to the occurrence, and not the prototype.
调用 UF _ MODL _ ask _ body _ faces,输入为实体(类型70,子类型0) ,返回与该实体相关联的面的列表。可以使用 UF _ MODL _ _ list 例程来处理这个列表。可以通过调用 UF _ MODL _ ask _ object ()并输入上述类型和子类型来获得该例程的适当输入。如果 body 是一个匹配项,那么返回值相对于匹配项,而不是原型。
UFUN例子
获取源码例子请搜索 里海NX二次开发3000例专栏
parameters 参数
| tag_t | body | Input | Body object identifier 身体对象标识符 |
| uf_list_p_t * | face_list | Output to UF_free | Address of a Pointer to a list of Face object identifiers. Null pointer is returned if an error occurs (`error' > 0). Use UF_MODL_delete_list to free space allocated for this linked list. 指向 Face 对象标识符列表的指针的地址。如果发生错误(‘ error’> 0) ,则返回空指针。使用 UF _ MODL _ delete _ list 释放为此链表分配的空间。 |