Hi Steve,
while scripting I found out, that layers, when added in "Redraw(False)" mode are not updated in the layer manager.
Check out the script below.
python Code:
import rhinoscriptsyntax as rsdef StartScript():rs.EnableRedraw(False)for i in xrange(20):layer_name = rs.AddLayer("New Layer Nr. %d" % i)pt_id = rs.AddPoint([i,i,0])rs.ObjectLayer(pt_id, layer_name)rs.EnableRedraw(True)rs.Redraw()StartScript()
- Thanks
Martin


Reply With Quote