|
BOOL CTransUtil::AcMove(AcDbObjectId entId,const AcGePoint3d &ptFrom,const AcGePoint3d &ptTo)
{
// 将AcGePoint3d类型的点坐标进行类型转换
VARIANT *pvaFrom=Point3dToVARIANT(ptFrom);
VARIANT *pvaTo=Point3dToVARIANT(ptTo);
BOOL bRet=SUCCEEDED(AcAxMove(entId,*pvaFrom,*pvaTo));
delete pvaFrom;
delete pvaTo;
return bRet;
}
导入#include "axboiler.h"后,提示c:\arx2002\inc\axboiler.h(127) : error C2061: syntax error : identifier 'AcColor'
c:\arx2002\inc\axboiler.h(130) : error C2061: syntax error : identifier 'AcColor'
c:\arx2002\inc\axboiler.h(204) : error C2061: syntax error : identifier 'AcExtendOption'
c:\arx2002\inc\axboiler.h(213) : error C2061: syntax error : identifier 'ACAD_LWEIGHT'
c:\arx2002\inc\axboiler.h(216) : error C2061: syntax error : identifier 'ACAD_LWEIGHT'
c:\arx2002\inc\axboiler.h(220) : error C2061: syntax error : identifier 'IAcadHyperlinks'
c:\arx2002\inc\axboiler.h(227) : error C2061: syntax error : identifier 'IAcadDictionary'
不导入又提示无法辨别AcAxMove
我在【Settings for:】组合框中选择【All configurations】选项,在【Object/library module】文本 ARX库名称,输入了axauto15.lib
|
|