Multithreading + Variable component parameters

Hi , I’m trying to create a c# plugin component that implements both multithreading and variable parameters.

I’ve got the code working with GH_TaskCapableComponent, and am now trying to implement IGH_VariableParameterComponent to it. I’ve been referring to the old discussion but seems a bit tricky with the GH_TaskCapable component and not sure how to proceed.

hope someone’s been here before and can help :slight_smile:

attached is the code:
VariableDivideMTVarComp.cs (7.8 KB)

Just thought I’d update for anyone in the same boat, I ended up using Dictionaries to store the data input from the VariableParameter and it seems to work well with the TaskCapable component.