NX二次开发UF_MODL_ask_free_form_result 函数介绍

116 阅读1分钟

UF_MODL_ask_free_form_result

Defined in: uf_modl_freeform.h 
int UF_MODL_ask_free_form_result(int * free_form_result )

overview 概述

Returns the the current setting of the free form construction result preference. This preference controls free form feature creation in Through Curves, Through Curves Mesh, Swept, and Ruled functions. If the free form construction result is 0 and the selected curves are coplanar, a bounded plane is created. Otherwise, a B-surface is created.


返回自由格式构造结果首选项的当前设置。这个首选项控制自由形式的特征创建通过曲线,通过曲线网格,扫描和规则函数。如果自由曲面的构造结果为0,并且所选曲线是共面的,则创建一个有界平面。否则,就会创建一个 B 曲面。

UFUN例子

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

parameters 参数

int *free_form_resultOutputfree form construction result preference 0 = create bounded plane, if selected curves are coplanar. 1 = always create B-surface.
如果选择的曲线是共面的,自由曲线构造结果偏好0 = 创建有界平面。始终创建 B 曲面。