I have a very small, and hopefully simple, question: How can I export a variable from a GH python component as an ‘Empty Generic Data Parameter’?
Why would I want to do this? I have several different scenarios in my GH template and in one case I would like it to be ‘empty’, because otherwise components that are further down the pipeline do not what I want them to do.
Assigning a non-existing variable to the output variable does the trick, but the component becomes red and is not very nice.
Edit: For context, I’ve developed this practice over the years for structuring GHPython code. Where steps 5 and 6 are the relevant ones here (i.e. empty outputs and check inputs before running any code):