NX二次开发UF_MODL_ask_hollow_data 函数介绍

115 阅读1分钟

UF_MODL_ask_hollow_data

Defined in: uf_modl_hollow.h 
int UF_MODL_ask_hollow_data(tag_t feature_id, int * type, double * tolerance, char * * thickness, int * n_pierced_faces, tag_t * * pierced_faces, int * n_boundary_faces, tag_t * * boundary_faces, int * n_offset_faces, tag_t * * offset_faces, char * * * offset_thickness )

overview 概述

Ask the data for a hollow feature.


向数据索要一个空洞的特征。

UFUN例子

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

parameters 参数

tag_tfeature_idInputFeature identifier
特征标识符
int *typeInputHollow type: 1 = face 2 = region 3 = body
空心型: 1 = 面2 = 区域3 = 体
double *toleranceOutputTolerance.
宽容。
char * *thicknessOutput to UF_freeDefault thickness. This must be freed by calling UF_free.
默认厚度。这必须通过调用 UF _ free 来释放。
int *n_pierced_facesOutputNumber of pierced faces
穿孔面数
tag_t * *pierced_facesOutput to UF_freen_pierced_faces Array of pierced face identifiers. This array must be freed by calling UF_free.
穿孔脸标识符的数组。此数组必须通过调用 UF _ free 来释放。
int *n_boundary_facesOutputNumber of boundary faces
边界面数
tag_t * *boundary_facesOutput to UF_freen_boundary_faces Array of boundary face identifers. This array must be freed by calling UF_free.
边界面标识符的数组。此数组必须通过调用 UF _ free 来释放。
int *n_offset_facesOutputNumber of offset faces
偏移面数
tag_t * *offset_facesOutput to UF_freen_offset_faces Array of offset face ids. This array must be freed by calling UF_free.
偏移面 id 的数组。此数组必须通过调用 UF _ free 来释放。
char * * *offset_thicknessOutput to UF_freen_offset_faces Array of offset thickness expressions. This array must be freed by calling UF_free_string_array.
偏移量厚度表达式的数组。此数组必须通过调用 UF _ free _ string _ Array 来释放。