I am generating objects via Rhinoscript, How can an make each object a layer, having its layer name and color.
I did the following;
you can also modify object layer after creating it, like this:
obj = rs.AddPoint(0,0,0) rs.AddLayer("layerName", rs.CreateColor(255,0,0)) rs.ObjectLayer(obj, "layerName")
For info, you mean using Python (rhinoscriptsyntax). RhinoScript is a different thing, using VBScript. Python is much better
Thanks for the correction. I am a newbie
Thanks, this seems nicer.