UF_MODL_ask_immediate_children
Defined in: uf_modl.h
int UF_MODL_ask_immediate_children(int * update_level )
overview 概述
Returns the current setting for the modeling immediate children preference. This preference is used when editing curve whose is parent of features that create sheet and/or solid bodies and the modeling dynamic update is either UF_MODL_DYNAMIC_UPDATE_INCREMENTAL or UF_MODL_DYNAMIC_UPDATE_CONTINUOUS.
If the user edits a curve through edit feature or edit bridge curve feature, this preference is not applicable. If UF_MODL_UPDATE_FIRST_LEVEL is used, NX will update the first visible sheet or solid bodies that can be derived from the curve. If UF_MODL_UPDATE_ALL, NX will update all features related to editing curve.
返回建模直接子元素首选项的当前设置。这个偏好用于编辑曲线,它是创建工作表和/或实体的功能的父母,建模动态更新是 UF _ MODL _ DYNAMIC _ UPDATE _ INCREMENTAL 或 UF _ MODL _ DYNAMIC _ UPDATE _ CONTINUUS。如果用户通过编辑特性或编辑桥曲线特性来编辑曲线,则此首选项不适用。如果使用 UF _ MODL _ UPDATE _ FIRST _ LEVEL,则 NX 将更新可从曲线导出的第一个可见纸张或实体。如果 UF _ MODL _ UPDATE _ ALL,NX 将更新所有与编辑曲线相关的特性。
UFUN例子
获取源码例子请搜索 里海NX二次开发3000例专栏
parameters 参数
| int * | update_level | Output | Current setting of immediate children: UF_MODL_UPDATE_FIRST_LEVEL, UF_MODL_UPDATE_ALL 直接子级的当前设置: UF _ MODL _ UPDATE _ FIRST _ LEVEL,UF _ MODL _ UPDATE _ ALL |