2014年8月30日 星期六

Visual Studio Express 2013 + Maya 2014 C++ API Set up LOG

Visual Studio Express 2013 + Maya 2014 C++ API Set up!

step 1 : 解壓縮maya安裝路徑下的 \devkit\pluginwizard\MayaPluginWizard2.0.zip

step 2 : 會得到一個MayaPluginWizard的Folder 打開MayaPluginWizard.vsz

step 3 : Wizard=VsWizard.VsWizardEngine.10.0 改成12.0(for VS 2013) 回存

step 4 : 將MayaPluginWizard整包複製到C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\VCWizards底下

step 5 : 將裡面的三個檔案 MayaPluginWizard.ico, MayaPluginWizard.vsdir, MayaPluginWizard.vsz複製到 C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcprojects_WDExpress\底下

如此順利的話就可以在VS裡頭設置Maya API 開發的專案了!(灑花)

編譯出來的檔案是mll

by Chiaxin




2014年8月21日 星期四

[MELx001] How to get all files using maya MEL?

MEL x 001

如何獲得指定資料夾下的所有檔案?


利用這個指令:

string $files[] = `getFileList -folder [DIR_Path]`;

但是他會抓取底下所有包括子資料夾的物件

要如何過濾掉folder呢?

使用flags -filespec "*.*" 

就可以過濾掉沒有副檔名的物件!

至於不想抓取子資料下的files呢...

則可以使用file -exists來過濾...

by Chiaxin

2014年8月16日 星期六

M&M share - xin Attribute Observer

xin Attribute Observer 0.01


說明 : 提供一個介面方便檢視 Maya node attributes

Usage :
1. Determine all attributes form node and list them faster.
2. Flags support, isConnected, Append value, type, parent infomation after. 
3. Create convenient script to author.
4. Belong develpment tool. Easy to research node's attributes.

意見及回覆 : nnnight@gmail.com

Download Link -
Download