NX二次开发UF_MODL_ask_body_type_pref 函数介绍

122 阅读1分钟

UF_MODL_ask_body_type_pref

Defined in: uf_modl.h 
int UF_MODL_ask_body_type_pref(int * body_type )

overview 概述

Returns the current setting for the sheet/solid body type modeling preference. This preference is used when creating bodies through curves to allow you to control the type of body created. The body type option is used in the Through Curve Mesh, Through Curves, Extruded Body, Body of Revolution, Swept, Section Surface and Ruled Free Form Feature creation options.


返回工作表/实体类型建模首选项的当前设置。在通过曲线创建主体时,可以使用这个首选项来控制所创建主体的类型。主体类型选项用于通过曲线网格,通过曲线,挤压主体,旋转体,扫描,剖面和规则自由形式的特征创建选项。

UFUN例子

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

parameters 参数

int *body_typeOutputCurrent setting of the body type preference UF_MODL_SOLID_BODY UF_MODL_SHEET_BODY
身体类型偏好 UF _ MODL _ SOLID _ BODY UF _ MODL _ SHEET _ BODY 的当前设置