Re: [Maya-Python] Compile C++ Plugin in Maya 2014

2014-09-19 Thread Marcin Majewski
Hi Jeremy, You need Visual Studio Express 2010 with 64 bit compiler. In order to get 64 bit compiler (Visual Studio Express comes with 32 bit compiler) you need Windows 7.1 SDK - http://www.microsoft.com/en-us/download/details.aspx?id=8279. I compile mostly on Linux, so when I’ve to do this on Win

Re: [Maya-Python] Render Settings Window

2014-04-03 Thread Marcin Majewski
These attributes can be found in defaultRenderGlobals node attributes. Script is only used to set this attributes. You can list node attribures using listAttr command. Type listAttr defautRenderGlobals and you will see all availabe attributes. 2014-04-03 16:14 GMT+02:00 Chi Ngai Lai : > Hi Marci

Re: [Maya-Python] Render Settings Window

2014-04-03 Thread Marcin Majewski
Enable Color Management is controlled by createMayaSoftwareCommonGlobalsTab.mel. You can check this with whatIs mel command. If you enable color management checkbox you will see "changeColorProfileEnabled" in script editor. In script mentioned above you can find attributes that need to be changed t

[Maya-Python] Re: dynamic particle field example

2009-07-06 Thread Marcin Majewski
Here's simple field that adds force to particles based on particle id. In this field I use only particle positions and velocities, but in similar way you can obtain mass and other particle attributes using MPxFieldNode static variables ( check torusField.py in devkit). import sys import maya.OpenM