double point_coords [ 3 ]={0,20,0};
tag_t point;
int err;
int iObjCount=1;
int iStatus;
tag_t tPointArr[1];
int iMoveOrCopy=1;
int iDestLayer=0;
int iTraceCurves=2;
tag_t tCopies[1];
tag_t tTraceCurveGroup[30];
err=UF_CURVE_create_point(point_coords,&point);
tPointArr[0]=point;
double rp1[3]={0,0,0}, rp2[3]={0,0,1};
double rp3=90,rr4[16];
int ir5=0;
uf5945(rp1, rp2, &rp3, rr4, &ir5 );
uf5947(rr4,tPointArr,&iObjCount,&iMoveOrCopy,&iDestLayer,&iTraceCurves,
tCopies,tTraceCurveGroup,&iStatus);
此段代码在nx4和nx6中测试通过
在nx2中测试不通过,原因我就不讲了,没意义,毕竟nx2的时代已过去了
[ 本帖最后由 sualpha 于 2009-1-23 23:50 编辑 ] |