We have been using the opennurbs v5 libs to read .3dm files to our software (which worked fine) and we are trying now to migrate to v6. After compiling v6 libs (both shared and static, again with success under VS2017) we tried to use our old code to link with the new libs which failed with some linking errors (no compiler errors at all). Trying to figure out what’s wrong we consulted the online documentation of the API from this page:
First of all, is this the correct section of the documentation? One thing we struggled with is that there is no clear distinction between Opennurbs and the Rhino SDK at least on the documentation side.
Secondly, one of the unresolved symbols was the ONX_Model::GetRenderMaterial function that seems to be obsolete in the new version. Trying to find out if there is a replacement, we stumbled upon the ONX_Model::RenderFromIndex function in this page:
However, in the explanation of the function there is no description (possibly because it seems self explanatory) and in the description of the similar function ONX_Model::RenderMaterialFromLayerIndex there is a text that describes the ONX_Model::RenderMaterialFromAttributes argument and also includes an argument that is not there in the definition (material).
This whole situation creates some confusion and a lack of trust for the documentation.
Can you please comment on these?
Thanks in advance