Hi,
I really need help on how to run few lines of python in the middle of mel. I know there is that for mel there is “python” command but how to use it? Couldn’t find any solution around on internet.
Do i need to save python script separately then call it using mel? Or?
So I have:
PolygonBooleanDifference;
select -r “transform*”;
.
.
.
import maya.cmds as mc
sel_objs = mc.ls(sl = True)
mc.select(sel_objs[:-1], tgl = True)
.
.
.
few more lines of mel.
thanks!

