Go to: Synopsis. Return value. MEL examples.

Synopsis

callPython (string $module, string $function, string $args[])

Call a python function from MEL with string arguments. Does not return a value. Use the python() function if you want to evaluate an expression.

Return value

None

Arguments

Variable Name Variable Type Description
$modulestringPython module
$functionstringfunction name
$argsstring[]list of string arguments to pass

MEL examples

	callPython "sys" "stderr.write" {"hello\n"}