Grasshopper

algorithmic modeling for Rhino

Hi david

can you guide me to implement that the component is set to preview off when i drag it to the canvas?

thanks

to]

Views: 232

Replies to This Discussion

In the constructor of the component, set the Hidden property to True.

C#:
public Component_BlahBlahBlah()
  : base("BlahBlahBlah", "Blah", "Life is visceral.", "Cat", "Pan")
  {
    this.Hidden = true;
  }


VB:

Public Sub New()
  MyBase.New("BlahBlahBlah", "Blah", "Rather than intellectual.", "Cat", "Pan")
  Me.Hidden = True
End Sub


--
David Rutten
david@mcneel.com
Poprad, Slovakia
thanks david

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service