if (!dBody)
return result;
if (m_pSolidWorksGeom->m_dPreBody == dBody)
{
chordTolerance = m_pSolidWorksGeom->m_swChordTolerance;
result = true;
return result;
}
// get new chord tolerance if new body
m_pSolidWorksGeom->m_dPreBody = dBody;
IBODY swBody (dBody);
VARIANT faceList;
VariantInit (&faceList);
LPDISPATCH dTessellation = swBody.GetTessellation(faceList);
swBody.DetachDispatch();
if (dTessellation)
{