I have a PartDocument(attachment), and I can get the HoleDataPtr from the HoleDataCollectionPtr. But I want to get the FacesPtr of this HoleData, so I can only get the HolesPtr from the PartDoc at first, then get the HolePtr---->HoleData.
HolesPtr pHoles = pPart->GetHoles();
if(pHoles != NULL)
long pHoleCount = pHoles->GetCount ( );///Error!!pHoleCount is 0
LOG(DEBUGMSG("the Number of Holes is "
for (long i = 1; i
HolePtr pHole = pHoles->Item(i);
HoleDataPtr pHoleData = pHole->GetHoleData ( );
But here the count of the hole is 0,why?
Because I can get the HoleData from the HoleDataCollectionPtr, I think here the count of the hole is wrong!
Posted by: Julia Schneider Post date: 6/6/2007 1:18:00 AM