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

Minor bug in AddLayer if parent and no color

$
0
0

@Holo wrote:

Hi guys, for some reason this doesn’t make B a child of A:

import rhinoscriptsyntax as rs
rs.AddLayer("A")
rs.AddLayer("B", parent="A")

but this does:

import rhinoscriptsyntax as rs
rs.AddLayer("A")
rs.AddLayer("B", color=(255,0,255), parent="A")

So not adding a color messes something up.

Cheers

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4152

Trending Articles