Lua script to create new mask with mask preset
I've been able to create a Lua script that creates a new mask that includes mask type but I can't figure out how to add a mask preset (called effect in LrC 11) - by name ideally. Please see the screenshot of what I am referencing. Could anyone help with this?

Here is my current script:
local LrTasks = import 'LrTasks'
local catalog = import "LrApplication".activeCatalog()
local LrDevelopController = import 'LrDevelopController'
local LrApplicationView = import 'LrApplicationView'
LrTasks.startAsyncTask( function()
LrApplicationView.switchToModule("develop")
LrDevelopController.createNewMask("brush")
end)
