Grasshopper

algorithmic modeling for Rhino

This may already be there and I don't "get it".

Is there a way to disable the computation of groups based on boolean? Would optimise the speed of complex programme with significant subsystems that are not always active

Views: 993

Replies to This Discussion

Try DataDam component. It's avaible in newest gh release.

Thanks Mateusz!

Looking at the component I cannot see how to control data flows through program logic; there is just a timer.

What I need is something that prevents subsets of the model recalculating when they are not needed. One route may be to take all the inputs to modules whose output I do not use and use the pick component to disable the inputs to these sections. I presume once nulled there will be no further recalc. I will try this

Maybe you can just pick up a certain group, by using the "Filter" component:

If your condition results in False, Filter component will use the Group 1 output. If it results in True, it will use the Group 2 output.

Attachments:

Thanks! another component I have not yet used. You can however achievethe same with the pick component - and the module will still get calculated so no speed up...

There's no disable/enable or hide/show for groups. It's something I could add easily enough, though it would override per-object enabled/hidden settings.

The datadam object either works on a timer or on a mouse-click. You can insert it into a wire and then the data will not flow from left to right until you click on the central button. It was specifically designed so you can stage your process, delaying time consuming computation until you want it to happen.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

David; first some feedback - I find your active participation and leadership in this forum just superb. A world class example of an innovator leading the way. Huge kudos to you!

On this issue, if the datadam component had a boolean enabler this would do the trick as I assume without data changes flowing into a module there is no recalc of those components. This sounds a LOT easier and does not corrupt the object enable / disable. Is this easy to jerry rig?

You could use the StreamFilter swithing between your normal data and a null. this will not actually disable anything but components will either return immediately or return an empty list, defacto disabling any subsequent component.

Toller Rat - das soll es erledigen. Vielen Dank Hannes. mfG R

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