Hello I'm having problems when I save a document as cbf OCAF ie BinOcaf. What happens is this keep the document close the software I open it and I can work on the document and even I can resave but when I try to reopen does not open me and returned me the method to open in PCDM_ReaderStatus is the 15 is a missing driver, have identified that the problem is given by a display driver that we use to display color differently lines and faces, what we did was a wrapper class and modify TPrsStd_NamedShapeDriver the update of this class. and if we add the driver gives me the behavior of my problem but if I take it all works well.
Here's the code.
class NamedShapeDriver : public TPrsStd_Driver
* @brief Build the interactive object if it is null or update it.
* @return True If informations was found and the object was updated.
* @param label Is the constraint label.
* @param object Is the interactive object.
Standard_Boolean Update(const TDF_Label& label,
void configureAttributes(Handle_AIS_InteractiveObject& object, ObjectNode node);
#endif /* NAMED_SHAPE_DRIVER_H_ */
Adding to the table display driver
Handle_NamedShapeDriver driverNS = new NamedShapeDriver();
PCDM_ReaderStatus Application::open(string path, Document* document)
int undoLimit = document->document->GetUndoLimit();
PCDM_ReaderStatus status = Open(path.c_str(), document->document);