Hi,
I have problems to read and write IGES files with colors. for example this: error in vc9: WriteFile is not member of IGESCAFControl_Reader
I look in the OCCT Documentation but can not find WriteFile ...
IGESCAFControl_Reader myIgesReader;
Standard_Integer nIgesFaces,nTransFaces;
IFSelect_ReturnStatus status = myIgesReader.ReadFile(argv[1]);
if (status == IFSelect_RetDone)
{
Handle(TColStd_HSequenceOfTransient) myList = myIgesReader.GiveList("iges-faces");
// Übersetzt "MyList" und erhält die Ergebnisse als OpenCASCADE-Form
nIgesFaces = myList->Length();
nTransFaces = myIgesReader.TransferList(myList);
cout<<"IGES Faces: "<<nIgesFaces<<" Transferred:"<<nTransFaces<<endl;
printf("\n\nThe file was successfully read.\n\n");
// Wird an die Funktion vom Datentype "TopoDS_Shape" zurückgegeben
// Übersetzt "MyList" und erhält die Ergebnisse als OpenCASCADE-Form
nIgesFaces = myList->Length();
nTransFaces = myIgesReader.TransferList(myList);
cout<<"IGES Faces: "<<nIgesFaces<<" Transferred:"<<nTransFaces<<endl;
printf("\n\nThe file was successfully read.\n\n");
// Wird an die Funktion vom Datentype "TopoDS_Shape" zurückgegeben