ifcplusplus icon indicating copy to clipboard operation
ifcplusplus copied to clipboard

IFC4X3. Reading unknow entities are NOT logged or sent to the message call back.

Open alas2 opened this issue 1 year ago • 0 comments

Can the err_unknown_entity content be sent to the message call back?

I think,

In ReaderSTEP.cpp, void ReaderSTEP::readData(std::istream& read_in, std::streampos file_size, shared_ptr<BuildingModel>& model)

at the end of the function need to add :

if (err_unknown_entity.tellp() > 0) { messageCallback(err_unknown_entity.str(), StatusCallback::MESSAGE_TYPE_UNKNOWN_ENTITY, FUNC); }

Can we please suggest to have a new message type, MESSAGE_TYPE_UNKNOWN_ENTITY, for unknown entity? It will help us.

Thanks,

Alignment.zip

alas2 avatar Jun 04 '24 04:06 alas2