Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Select multiple layers in the PF_Param_LAYER parameter

Community Beginner ,
Mar 22, 2017 Mar 22, 2017

I'm using the PF_Param_LAYER parameter in an effect plugin. I want to allow the user to select multiple layers in the dropdown. Is this possible?

TOPICS
SDK
546
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Mar 23, 2017 Mar 23, 2017

Hi!

another way, may be not exactly what you expect, but easier, would be to have a Button parameter instead.

Clicking that button, you could get the actual selection of your composition. So if you select the layers then click the button, you'll get their layerID and do whatever you need to do.

Cheers,

François

Translate
Engaged ,
Mar 23, 2017 Mar 23, 2017

Hi,

I don't think this is possible, since the mechanics of the simple dropdown only allow for a single item to be selected.

The only ways to do this are, have multiple layer parameters (but this is a bit clunky and limits you to the number of layers you're willing to have in your effect UI), or to build a custom UI that acts more like a multi-select list box. However this is not a straightforward task!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 23, 2017 Mar 23, 2017

Hi!

another way, may be not exactly what you expect, but easier, would be to have a Button parameter instead.

Clicking that button, you could get the actual selection of your composition. So if you select the layers then click the button, you'll get their layerID and do whatever you need to do.

Cheers,

François

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 29, 2017 Mar 29, 2017
LATEST

Hey françois leroy,

Yeah, that was what I ended up doing. I created multiple invisible layer parameters and a button parameter (that was visible). The user can select all the necessary layers and clicking the button parameter will assign those layers to the layer parameters.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines