Grasshopper

algorithmic modeling for Rhino

Hi
Does someone know how to detect when a custom component is disabled ?
Thx

Views: 505

Replies to This Discussion

Can you give details about where/how you are using this? An example will help.

Thanks guys!

I was looking for that.. 

public override void DrawViewportWires(IGH_PreviewArgs args)
{
     base.DrawViewportWires(args);
     if (Hidden) { return; }
     if (Locked) { return; }

     ......

}

</code>

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service