ONX_MODEL on Rhino WIP SDK

Hi, we are converting our plugin to Rhino WIP. In the Rhino5 version, we use the ONX_MODEL class (to lad .3dm geometries) which has different attributes and methods now. Is there any documentation about this class for Rhino WIP? Thanks in advance.

The ONX_Model class has change substantially between V5 and V6. Instead of access individual tables, you can now use iterators to request the type of model component you want.

Here is an example of importing meshes from a 3dm file:

https://github.com/mcneel/Rhino6Samples_CPP/blob/master/SampleCommands/cmdSampleImportMeshes.cpp

There will be more samples available when we publish the openNURBS toolkit for Rhino 6. For now, if you need any additional help, just let me know.

– Dale

1 Like