也就是说:我用
CATBaseUnknown* UnknownSphere = gsmSphere;
CATISpecObject_var spIntersectLine = NULL_var;
CATListValCATI2DWFGeometry_var wfList ;
spIntersectLine = spWF2DFactOnSketch->IntersectGeometry(UnknownSphere, wfList,0,NULL,NULL,0,1);
求到了交线,用:
spConstraint2DFactory->CreateConstraint( spPoint3, NULL, spIntersectLine, NULL, NULL, NULL, NULL, Cst2DType_On, 0, 0 );
对spPoint3点 与 交线相合约束。
但是失败了。
求指点 谢谢!{:soso_e176:} |