IModelDoc2::CreateFixedPlane2()

Hi all,

Having just updated to SW2008, I've found that some code whichworked fine previously is now failing at the point where it callsIModelDoc2::CreateFixedPlane2(), which is now returning zero. I'mnot getting any errors or exceptions to suggest what may be causingthe problem. The function is being called with three points(0,0,0), (1,0,0), (0,1,0). Any suggestions gratefullyreceived!SolidworksApi macros