关于第二个问题:
1)在Adesk::Boolean CRectJig::update()函数中先声明AcGePoint3d tempPoint; //初宏MAKEUCSCOORD使用
2)修改宏定义#define MAKEUCSCOORD(x, y) tempPoint = (y); \ acdbWcs2Ecs(asDblArray(tempPoint), asDblArray(tempPoint), asDblArray(m_vecUnitZ),\ Adesk::kFalse); x[X] = tempPoint[X]; x[Y] = tempPoint[Y]; |