Message 1 of 9
Occasionally FlipNormal fails...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Occasionally a call to FlipNormal fails. I've only just added the debugging to see the COM error, but since it does not happen very often I thought I'd ask here.
Why would FlipNormal fail? The workplane is inside a hole on the side of a tube, but there are no constraints associated with it.
Here's the code, though I doubt it'll help...
HRESULT hRes = pWorkPlane->FlipNormal() ;
if (SUCCEEDED(hRes)) {
return true;
} else {
ShowCOMError(hRes,L"CCollettore::FFWPNIR(1)of rango %d plane normal flip failed\n"
L"plane name = <%s>",ikCollRangoNum,csPlaneName.GetString());
return false;
}