This may possibly be a very silly or trivial question, but having discovered rhino3dm.py today I can’t understand how to find the object in a file I want to work with.
Say I have an existing 3dm file created in rhino containing multiple surfaces with user text attached to each. Later I want to use a python script with rhino3dm to find a particular surface (identified by the attached user data) in the model file, and change its layer, for example.
Or in fact, say I want to change the layer of every single surface in the file?
It seems I’d probably use rhino3dm.ObjectAttributes.Layerindex() to change the layer, but how do I select the surface(s) that I want to change/pass to LayerIndex as parameters?
If writing a script in rhino I’d use rhinoscriptsyntax.ObjectsByType() or similar - what is the equivalent in rhino3dm.py?