This will be my last post it a while :P
I am loading in a plugin and I need to be able to pass it some arguments
(UI values users input before the plugin is called), is there a way to do
this in python? (investigation tells me you can't, but worth a shot)
def initializePlugin(mobject):
mplugin = OpenMayaMPx.MFnPlugin(mobject)
try:
mplugin.registerNode( kPluginNodeTypeName)
except:
sys.stderr.write( "Failed to register node: %s\n" %
kPluginNodeTypeName )
Or can you suggests a way I can get user input data from a the class that
initialized the plugin, in a proper way?
Worst case scenario I just pull the UI class out and put it in the plugin
(I would really like to stay away from this).
Thanks for any help!
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/0120cc1b-040c-4aac-b6fb-4494e0ec96c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.