Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8570

Force drawing color in Rhino.NET and RhinoCommon

$
0
0

@lscandella wrote:

Hello,

in Rhino.NET I was forcing the drawing color with the code:

OnColor color = new OnColor(0, 255, 0);
RhUtil.RhinoApp().ActiveDoc().Properties().SetCurrentColor(color);
RhUtil.RhinoApp().ActiveDoc().Properties().SetCurrentColorSource(IOn.object_color_source.color_from_object);

I can’t find the equivalent under RhinoCommon. Any Idea?

Thanks. L

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8570

Trending Articles