📋 Metadata

💬 Content

rbx775:

Though, can I call different classes/functions of a Script through PME’s “execute_script” ?
Or even parse additional variables ?
e.g.: execute_script(“…/Scripts/Symmetrize.py”, “X”)

Hi, thanks.
Good question. I don’t think that’s possible using execute_script(). But you can import and call functions.
For example:

from mesh_relax import relax_mesh; relax_mesh(bpy.context)

🔗 View on Blender Artists