Grasshopper

algorithmic modeling for Rhino

I remember my time's on DOS system, when some routine or program stop working just with CTRL-C you stop the operation by abortion, i notice some times GH when makes huge calculus operation some times the Program Stop or hang out maybe there's a way to Abort the operation in those cases or maybe its possible to implement some tool to solve this============> just thinking in loud 

Views: 598

Replies to This Discussion

If Escape doesn't work, it's unlikely I can do anything about it.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

jejeje escape some time doesn't work 

i guess all the programs need a reset physical button to avoid this headache 

The state of the escape key is checked between Component iterations and when converting data between parameters. When a single operation takes a long time to complete (for example a massive Solid Boolean) then there's no way to abort it unless it was running in a separate thread, which it isn't.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

just curious - does this apply per solveinstance, or per solution for an entire component? Meaning, if I am running a bunch of solid booleans in separate trees, will escape allow me to stop in the middle?

Per SolveInstance. Actually, I never check more than once every 50 milliseconds, but I only check between separate calls to SolveInstance and inside the loop that converts some remote data type into a local datatype.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

So yes, it only applies to individual operations. But even single operations can take seconds and sometimes minutes.

--

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