It is possible to pre-import modules and publish them to the __main__ namespace so you don't have to do imports in your calls from the ui. Take a look at __import__.
-Judah On Tue, Feb 21, 2012 at 5:20 AM, [email protected] < [email protected]> wrote: > I ll have to give it another try but I m pretty sure it did nt work > without the import. All these commands live in a It seems that all > these script commands look within the __main__ scope and not within > the module themselves. My problem is that I seem to be getting lag > from this import command. > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
