多谢 zale_lzj 兄的指点,问题已经解决……
现把代码贴出来:
{
/* TODO: Add your application code here */
UF_FEATURE_SIGN sign = UF_NULLSIGN;
double block_orig[3] = {0.0,0.0,0.0};
char *block_len[3] = {"1","2","3"};
tag_t blk_obj;
UF_UNDO_mark_id_t mark_id;
UF_UNDO_set_mark(UF_UNDO_visible, NULL, &mark_id);
UF_MODL_create_block1(sign, block_orig, block_len, &blk_obj);
/* Terminate the API environment */
errorCode = UF_terminate();
} |