Grasshopper

algorithmic modeling for Rhino

How to make  a script to change boolean when i`l press thу button?

Views: 327

Replies to This Discussion

Hi Philipp,

 

can you elaborate a bit? Which button attemptest thou to press? Which boolean needs to change?

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

just wanted to have a possibility to start animation (or anything) with a keyboard.

I am trying ro understand the logic, couse all examples on vb6 and rhinocommon sdk help are not working. Maybe it will be useful to make this option as a component...

So you want to trigger some functionality on a certain key-press? It's difficult to respond to key-presses unless you have a control that currently has focus.

 

If you want to trigger something, I suggest you create a form (window) that has a button on it which can be pressed. You can create forms through code directly or you can use a Visual Studio form designer.

 

I still don't really know what you're after. What sort of animation? Are you animating rhino viewports, or grasshopper data or what?

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

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