No, unfortunately this is not exposed yet. It is a top priority for future versions of the scripting API. The recommended workaround is to generate a large set of ELs or DLs through the interface and then select a subset of these materials in your script.
-Ryan