1. 程式人生 > >NX二次開發-UF_MODL_create_block1建立塊

NX二次開發-UF_MODL_create_block1建立塊

NX9+VS2012

#include <uf.h>
#include <uf_modl.h>

UF_initialize();

UF_FEATURE_SIGN Sign = UF_NULLSIGN;//設定布林
double Corner_pt[3] = {0.0, 0.0, 0.0};//設定原點
char *Edge_Len[3] = {"100", "100", "100"};//設定長寬高
tag_t BlkTag = NULL_TAG;
UF_MODL_create_block1(Sign, Corner_pt, Edge_Len, &BlkTag);

UF_terminate();

Caesar盧尚宇  
[email protected]