I have a large CSV file (~100MB, ~200,000 rows) that I’m parsing with a C# component and then using that data to model some simple extruded and capped geometry. Each row in the CSV file describes geometry that I’m modeling in grasshopper.
I’m using a slider to select a single branch from the datatree where each row of my CSV file results in a branch in the datatree. This is to try and keep the model as light as possible by not modeling all the geometry at once.
I then use the slider animate function to capture a view of the model that is created where each increment of the slider represents one line in the CSV file which is one branch of the datatree:
This all works, but is slower than I would like. If the input CSV file is substantially smaller (say 1MB and 2000 lines), then the animate slider runs much faster.
Any ideas as to why this is the case and how I could go about making the animate slider function faster with the large datafile?