I've heavily modified this script to work with our module system. This is
briefly why...
On startup part of our module code fire's a python script that parse's an
xml file to automaticaly build the menu for that module. Anything added by
the menu code will add a doctag to the menu item. This do
> we have local userSetup run a global userSetupAll. This way we can
> have local functions run together with functions that are global for
> every one.
we do something similar, but the other way around. we have a global
userSetup.py and userSetup.mel which call user's local userSetup.py
cool idea... i will investigate this further...
Thanks
On Fri, Aug 7, 2009 at 2:21 PM, John Creson wrote:
> scripts/startup/menuItemToShelf.mel
>
> is called to do this action,
>
> You may be able to do something in here, like ask
>
> whatIs myMenuItem;
>
> and if it is unknown, assume it is Py
scripts/startup/menuItemToShelf.mel
is called to do this action,
You may be able to do something in here, like ask
whatIs myMenuItem;
and if it is unknown, assume it is Python?
On Fri, Aug 7, 2009 at 1:32 PM, sberger wrote:
>
> So I created this menu in the main menubar in python...the comma
So I created this menu in the main menubar in python...the commands
attached to these python menuItem are python commands.
When select the item in the menu, the python command execute
correctly... when I do a shift+CTRL click an item to make a shelf
button, it create a mel shelf button!!!
Anyone
that's a good idea... I finally when with the userSetup.mel calling the
network python script... Works fine
On Fri, Aug 7, 2009 at 11:50 AM, yury nedelin wrote:
> we have local userSetup run a global userSetupAll
>
> This way we can have local functions run together with functions that are
> g
we have local userSetup run a global userSetupAll
This way we can have local functions run together with functions that are
global for every one.
yury
On Fri, Aug 7, 2009 at 7:44 AM, sberger wrote:
>
> Hi, I have this setup for Maya 2009
>
> My user Pref are localed on the network m:\profil
Hi, I have this setup for Maya 2009
My user Pref are localed on the network m:\profiles\sylvain.berger\maya
\...
in these user pref I have a maya.env file that add a network
MAYA_SCRIPT_PATH=m:\library\maya\scripts\
when I put the userSetup.py in the MAYA_SCRIPT_PATH location it
doesn't get exec
the best way I found to display image in maya was to convert them using
imf_copy or some other command application, execute a subprocess.
You should take a look at the nconvert application... it supports over 300
image format... exept exr 32 bit (http://www.xnview.com/en/nconvert.html)
example:
os.system('imgcvt.exe -f iff -t png '+ iffFile +' '+ pngFile)
if you want to display iff files natively in pyqt, my guess is you will have
to write something in C (C++?) to make qt read iff files. A bit more work
than just converting behind the scenes
On Fri, Aug 7, 2009 at 1:05 PM, cracker wro
The exe can be run w/ a python script?
I'm looking a for a runtime solution -
On Aug 7, 2009, at 22:43, Jo Jürgens wrote:
> you can convert them using maya/bin/imgcvt.exe, which will be on all
> Maya machines, so at least it will work for anyone with Maya
>
>
>
> On Fri, Aug 7, 2009 at 8:12 A
you can convert them using maya/bin/imgcvt.exe, which will be on all Maya
machines, so at least it will work for anyone with Maya
On Fri, Aug 7, 2009 at 8:12 AM, Chad Dombrova wrote:
>
> when you say 'deploy' do you mean distributing inside or outside of
> your workplace? if inside, then you
12 matches
Mail list logo