Author Topic: How to set the color of custom osnap?  (Read 1042 times)

0 Members and 1 Guest are viewing this topic.

csharpbird

  • Newt
  • Posts: 64
How to set the color of custom osnap?
« on: April 11, 2012, 01:02:59 PM »
Code: [Select]
It seems that the following codes cannot change the color of the custom osnap.
public override void ViewportDraw(ViewportDraw vd)
{
      .....
      vd.SubEntityTraits.Color=1;
}