If I create a new curve or something from RhinoCommon(Python,) do I have to do something to it or actually add it to the document to be able to set/get the .Attributes object? I’ve got a curve I’m trying to set the layer and name on before adding it to the document and it’s saying the object has no attribute ‘Attributes’?
EDIT: got it, the “object attributes” object is separate from the curve, I pass both when I actually add the curve to the doc.
I have been able to create a default set of attributes so I can add/bake text to rhino in python from grasshopper but still a little lost on how I edit these attributes before I assign them.
Could you maybe share either your code or an example of what you did to be able to set the Layer etc?