linlily0925 发表于 2012-11-21 11:03
#include "CATLISTV_CATI2DWFGeometry.h"
CATISpecObject_var spIntersectLine = NULL_var;
CATListValCATI2DWFGeometry_var wfList = NULL;
wfList.Append(spLine1);
wfList.Append(spLine2);
wfList.Append(spLine3);
wfList.Append(spLine4);
spIntersectLine = spWF2DFactOnSketch->IntersectGeometry(UnknownSphere, wfList,0,NULL,NULL,0,1);
它报错error C2664: “CATListValCATI2DWFGeometry_var::Append”: 不能将参数 1 从“CATISpecObject_var”转换为“const CATI2DWFGeometry_var &”
求指教啊? |