tari wrote:
下午,我换了一种方法试试:下面是我写的代码:
tag_t part;
part=UF_open_part();
tag_t feature=NULL_TAG;
int type=UF_feature_type;
uf_list_p_t face_list;
uf_list_p_t p1;
UF_OBJ_cycle_objs_in_part(part,type,[$feature)]
while(feature!=NULL_TAG)
{
if(feature==NULL_TAG) uc1601("a",1);
UF_MODL_ask_feat_faces(feature,[$face_list)]
int *type1=NULL;
p1=face_list;
do
{
UF_MODL_ask_face_type(p1->eid,type1);
if(*type1==UF_MODL_CYLINDRICAL_FACE) uc1601("cylinder",1);
if(*type1==UF_MODL_PLANAR_FACE) uc1601("plane",1);
if(*type1==NULL) uc1601("fail",1);
p1=p1->next;
}while(p1->eid!=NULL_TAG);
UF_OBJ_cycle_objs_in_part(part,type,[$feature)]
}
调试没错,但执行时弹出错误信息窗口:Interal error:......,麻烦哪位高人指点一下,急啊!
欢迎光临 iCAx开思工具箱 (https://t.icax.org/) | Powered by Discuz! X3.3 |