Hi Rob,
it seems it doesn't work in this way, but I've just found an old comment from Juan .
The solution he gave it is very close to what you propose:
----....
If you want to create a new ProcessContainer with masks from scratch, this requires a bit of a hack:
- Open or create your mask image. Set its identifier to "mask" (for example).
- Open ProcessContainer and add the process that you want to apply.
- Click the Edit Instance Source Code button on the control bar at the bottom.
- Type this at the bottom of the source code (create a new line by pressing Enter at the end of the code):
P.setMask( 0, "mask" );
This assigns "mask" to the first process instance in the ProcessContainer.
- Click the green check mark icon at the top of the code editor window to commit the changes.
- Create a ProcessContainer icon (blue triangle, etc.)
- Open ImageContainer and add the images that you want to process.
- Drop the ImageContainer instance to the ProcessContainer icon.
-------
I have tried and it works.
Thanks a lot for the hint!
Andrea