[Closed] paramBlock2
I just searched the internet, but no chance to get the answer. What is the paramBlock2?
Think of it as a container of the individual parameters that allows you to easily store and retrieve them, get their types, controllers etc. This is the modern one, you might still find the original paramBlock in some old plugins.
If you’re wondering why it was added as a parameter type, IIRC it’s because with the introduction of fluids there was the need for floating, non-Command-Panel rollups (linked to an additional set of parameters) that are not added to the UI by default, and previously that linkage would result in them being added to the Command panel.
Create a that parameter just like any other and feed it for example (refs.dependsOn (Box()).baseObject)[1]
See above. In prior versions, you could do something like that by storing custom attributes and using their rollout. Anyway, if you can’t think of a way to use it, chances are you don’t need it.