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

In-Line way of including LayerMaterialIndex (etc) when creating AddLayer?

$
0
0

Is there an in-line way of setting LayerPrintWidth (and other attributes, like MaterialIndex, etc.) when you’re scripting for AddLayer? Example:

rs.AddLayer(new_element)
rs.AddLayer(“bbox”+new_element, Color.FromArgb(20, 0, 0, 0), parent=new_element)
rs.AddLayer(“glass”+new_element, Color.FromArgb(100, 105, 105, 105), parent=new_element)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4163

Latest Images

Trending Articles



Latest Images