NX二次开发UF_MODL_ask_body_structures 函数介绍

140 阅读1分钟

UF_MODL_ask_body_structures

Defined in: uf_modl.h 
int UF_MODL_ask_body_structures(tag_t body_tag, int * num_tags, tag_t * * fault_tags )

overview 概述

A geometry check routine. Determine whether the body provided by the caller passes the data structures check. This routine should be called before UF_MODL_ask_face_face_intersect.


几何检查程序。确定调用方提供的主体是否通过数据结构检查。这个例程应该在 UF _ MODL _ ask _ face _ face _ intersect 之前调用。

UFUN例子

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

parameters 参数

tag_tbody_tagInputbody tag
身体标签
int *num_tagsOutputNumber of faces/edges in the input body which don't pass data structures check.
检查输入体中未通过数据结构的面/边的数量。
tag_t * *fault_tagsOutput to UF_freearray of tags of faces/edges which don't pass data structures check. This must be freed by calling UF_free.
无法通过数据结构检查的面/边的标记数组。这必须通过调用 UF _ free 来释放。