I wanted to change active color in the color control, with the COM interface, but I simply couldn't figure it out. To change active layer or active lineype is so easy:
app.ActiveDocument.ActiveLinetype = app.ActiveDocument.Linetypes.Item("ByLayer");
app.ActiveDocument.ActiveLayer = app.ActiveDocument.Layers.Item("Window");
But command to set active color is not there, and also to set the active lineweight. So, how do I set active color and active lineweight with COM classes, and how do I do it with managed classes? Thanks.