Hi,
I’m upgrading a code from rhino.net to rhinocommon, and I need change a function and read a 3dm file instead of to work with RhinoDoc.ActiveDoc
I open the file with File3dm.
File3dm file = File3dm.Read(pathRobot);
Read and need get all object in a layer.
File3dmObject[] objList = file.Objects.FindByLayer(rhinoLayer.Name);
But the objects there are File3dmObjects and I need RhinoObjects for the constructor in a class.
I can make other constructor, but I prefer to do casting, so
How can I convert the File3dmObjects in RhinoObjects?
Thanks