The following is an example of a Python script using this tool:
wd = pluginHost.getWorkingDirectory()
# You may have multiple input files but they must
# be separated by semicolons in the string.
inputFiles = wd + "input1.wkt" + ";" + wd + "input2.wkt" + ";" + wd + "input3.wkt"
args = [inputFiles]
pluginHost.runPlugin("ImportWellKnownText", args, False)
This is a Groovy script also using this tool:
def wd = pluginHost.getWorkingDirectory()
// You may have multiple input files but they must
// be separated by semicolons in the string.
def inputFiles = wd + "input1.wkt" + ";" + wd + "input2.wkt" + ";" + wd + "input3.wkt"
String[] args = [inputFiles]
pluginHost.runPlugin("ImportWellKnownText", args, false)