iCAx开思工具箱

标题: ProE二次开发 Creo二次开发 获取零件曲面 [打印本页]

作者: ESD_ProDevelop    时间: 2014-8-27 21:27
标题: ProE二次开发 Creo二次开发 获取零件曲面
ProError GetSolidSurface(ProMdl pSldMdl, ProSurface** pSrfArray, ProSrftype pSrfType)
{
ProError err;
err = ProArrayAlloc(0, sizeof(ProSurface), 1, (ProArray*)pSrfArray);
SolidSurface sSldSrf;
err = ProArrayAlloc(0, sizeof(ProSurface), 1, (ProArray*)&sSldSrf.pSrf);

err = ProSolidSurfaceVisit((ProSolid)pSldMdl, ActionSolidSurface, NULL, &sSldSrf);
if (err != PRO_TK_NO_ERROR)
return err;...
详细见:https://user.qzone.qq.com/910361522/blog/1403101126




欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3