UF_initialize();
Point3d p1 = point0->Point();
int L1 = integer0->Value();
double W1 = double01->Value();
NXString H = string0->Value();
//类型转换
const char*H1 = H.GetLocaleText();
//强制类型转换
char* H2 = const_cast<char*>(H1);
char L2[256], W2[256];
sprintf(L2, "%d", L1);
sprintf(W2, "%f", W1);
UF_FEATURE_SIGN blocksign = UF_NULLSIGN;
double blockcorner[3] = { p1.X,p1.Y,p1.Z };
char* blockedge[3] = { L2,W2,H2 };
tag_t blockTag = NULL_TAG;
UF_MODL_create_block1(blocksign, blockcorner, blockedge, &blockTag);
UF_terminate;