If I am reading your examples correct, it would appear you are using your
foo module as a kind of global scratch pad for storing and sharing data
between unrelated function calls in your UI and your business logic
modules. You might try making your business logic capable of storing
everything it ne
I am editing this file where it has 2 files - one for UI and the other
(lets call it the Function script, not sure what is the correct term is) is
the functions that process the user selections etc.
Currently in this UI, there is this text field in which I am trying to pass
its string values to
import maya.cmds as cmds
import maya.mel as mel
win = cmds.window(title = "Long Name", iconName = "Short Name", widthHeight
= (200, 55))
cmds.columnLayout(adjustableColumn = True)
fbTable = mel.eval('$tempFbValList = $gFilmbackTable')
print fbTable
cmds.optionMenu("omFilmbackMenu", label = "Film
Hi all, I am trying to convert the following Mel into python but was met
with some trouble.
Though I do not intend to implement the code, still, I would like to be
enlighten, shedding some light as I am trying to learn / be knowledgeable
in both Mel and Python..
The following is the Mel code:
s