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

Documentation on System.Drawing

$
0
0

I m creating a script where for setting up the layer struture that i would like to have.
Using as starting point from python documentation for Addlayer command there is the following example:

import rhinoscriptsyntax as rs
from System.Drawing import Color
print "New layer:", rs.AddLayer()
print "New layer:", rs.AddLayer("MyLayer1")
print "New layer:", rs.AddLayer("MyLayer2", Color.DarkSeaGreen)
print "New layer:", rs.AddLayer("MyLayer3", Color.Cornsilk)
print "New layer:", rs.AddLayer("MyLayer4",parent="MyLayer3")

I would like to undertand what are the available options for adding color in the inserted layers.
Does anyone know where to look for the documentation of the above?

Thanks in advance

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 4174

Latest Images

Trending Articles



Latest Images