Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5892

SR12 - Parent Layer Bug?

$
0
0

@powerpp wrote:

Hello,

today I updated to SR12(5.12.50810.13095, 10.08.2015) - 64bit.
Now adding a childlayer under a parent layer using pyhton script does not work any more.

import rhinoscriptsyntax as rs
print "New layer:", rs.AddLayer("MyLayer3")
print "New layer:", rs.AddLayer("MyLayer4",parent="MyLayer3")

Above code results in two layers: "MyLayer3" and "MyLayer4" without childs.
Using rhinoscript adding a childlayer still works.
That causes big trouble to me because I have nearly hundred scripts here at work that rely on childlayers...
On another computer yesterday I had the same issue after updating - but now it works again. Don't know why.
Does anyone have the same problem?
Please help!

Thanks,
Philip

Posts: 13

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5892

Trending Articles