Notifications
Clear all

[Closed] paramBlock2

 MZ1

I just searched the internet, but no chance to get the answer. What is the paramBlock2?

5 Replies

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.

1 Reply
 MZ1
(@mz1)
Joined: 11 months ago

Posts: 0

So any example how we can feed a parameter with this type?

Create a that parameter just like any other and feed it for example (refs.dependsOn (Box()).baseObject)[1]

1 Reply
 MZ1
(@mz1)
Joined: 11 months ago

Posts: 0

Thank You, I’m thinking where we can use it…

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.