I Need to read details inside the CGR container for a CATIA V5 R18 Part File.
Is it possible to read CGR details for a Part file.
CATCGRContainer *GetCGRContainer()
function is available under CATICGRDocument
interface.
CATDocument *iDoc = NULL;
CATBaseUnknown *oApplCont = NULL;
HRESULT hr = CATGetApplicativecontainer(oApplCont,iDoc,IID_CATIContainer,"CGRCont");
This got Suceeded but from this Applcont if we query for CATICGRDocument it fails.
How to query for CATICGRDocument interface ?
How can I read those details usng CATIA v5 R18 CAA .