NX二次开发UF_MODL_ask_block_parms 函数介绍

94 阅读1分钟

UF_MODL_ask_block_parms

Defined in: uf_modl_primitives.h 
int UF_MODL_ask_block_parms(tag_t feature_obj_id, int edit, char * size [ 3 ] )

overview 概述

Gets block parameters.


获取块参数。

UFUN例子

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

parameters 参数

tag_tfeature_obj_idInputA feature object identifier
特征对象标识符
inteditInputThis is an unused flag. It used to determine whether to return the right-hand side or both sides of an expression. Currently, both sides of an expression are returned.
这是一个未使用的标志。它用于确定是返回表达式的右边还是两边。当前,表达式的两边都返回。
char *size [ 3 ]Output to UF_freeBlock dimension (length , width , height) The string space allocated for the three elements should be freed via UF_free when they are not used.
块维度(长度、宽度、高度)为这三个元素分配的字符串空间在不使用时应该通过 UF _ free 释放。