Hi,
I have some issues with the rs.GetLayer and rs.ObjectLayer() command.
If the Layer Structure in Rhino has multiple sublayers with the same name the rs.Getlayer and rs.ObjectLayer() don't work.
See files attached.
If you select the sublayer "out" in "main2" rhino still draws the point on "out" in "main1"
Python Code:
layer_out = rs.GetLayer("Select Layer to draw geometry", None, True, True)pt = rs.AddPoint(0,0,0)rs.ObjectLayer(pt, layer_out)
Any suggestions?
THX


Reply With Quote