My current Grasshopper definition imports hardware like bolts and nuts from a directory using the Query Directory component.
The directory contains over 50 different files, mostly *.3dm and some *.3dmbak
I’m using the name filter to retrieve just the *.3dm files.
I just added another part to my hardware collection and the only way to get this filename into Rhino using the same Query Model component seems to be by pressing the ‘Query’ button on the component. The issue I’m facing is that this recomputes the file output which means everything downstream is recomputed.
Using the native Grasshopper Rhino components, is there a way to avoid this full recompute?
Is there maybe a way to create a smart list which only recomputes what has changed?
Did you try connecting the output to the Event Gate of Heteroptera plugin? That might help, however then I experienced some unexpected behaviour related to usage of that component together with Content Cache…
Sorry, I might misunderstood the question… Usually if you want to do some action based on a change in a given folder, you can observe and react to the file-system change using this library function. With the information about what has changed, you can trigger an conditional answer. This of course involves scripting, and some understanding of event handling in Grasshopper (which requires a bit care).