NX二次开发UF_MODL_ask_flange_parms 函数介绍

45 阅读1分钟

UF_MODL_ask_flange_parms

Defined in: uf_modl_smd.h 
int UF_MODL_ask_flange_parms(tag_t feature_tag, UF_MODL_flange_data_p_t * parameters )

overview 概述

Returns the parameters of an existing straight-brake flange feature. The structure returns the thickness, width, angle, length, radius and the taper/miter/butt for the left and right side of the feature. The memory for the structure is allocated by the routine and must be freed by the caller of the routine.


返回现有直制动器法兰的参数。结构返回特征左右两侧的厚度、宽度、角度、长度、半径和锥度/斜度/对接。结构的内存由例程分配,并且必须由例程的调用方释放。

UFUN例子

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

parameters 参数

tag_tfeature_tagInputObject identifier of an existing straight-brake flange feature.
现有直制动器法兰特性的对象标识符。
UF_MODL_flange_data_p_t *parametersOutput to UF_freeThe parameters associated with the existing straight-brake flange feature. Use UF_free to deallocate memory when done. NEEDS FREE ROUTINE
与现有直制动器法兰特性有关的参数。完成后使用 UF _ free 释放内存。需要自由活动