MAYA プラグインの構築方法

MAYA側の設定内容

VC++ 構成

MAYA側でのOBJリスト

VC++側でのhファイルでの定義コード

#define LIK1  "L_RODE|ConRod|ikHandle1"
#define LIK9  "L_RODE|ConRod|ikHandle24"
#define LIK10 "L_RODE|ConRod|ikHandle25"
#define LIK11 "L_RODE|ConRod|ikHandle26"
#define LIK12 "L_RODE|ConRod|ikHandle27"
#define LIK13 "L_RODE|ConRod|ikHandle28"
//==================================================================
//==================================================================
#define LIK45 "L_RODE|ConRod|ikHandle45"
#define LIK46 "L_RODE|ConRod|ikHandle46"
#define LIK47 "L_RODE|ConRod|ikHandle47"
#define LIK48 "L_RODE|ConRod|ikHandle48"
//==================================================================
//==================================================================
#define L_JN1      "L_RODE|ConRod|joint1"
#define L_JN31     "L_RODE|ConRod|joint31"
#define L_JN38     "L_RODE|ConRod|joint38"
#define LR6_CEN    "L_RODE|ConRod|LR6center"
#define LR6_CON2   "L_RODE|ConRod|LR6Con2"
#define LR7_CON2   "L_RODE|ConRod|LR7con2"
#define LR8_CON1   "L_RODE|ConRod|LR8con1"
#define LR8_CON2   "L_RODE|ConRod|LR8Con2"
#define LR11_CON4  "L_RODE|ConRod|LR11Con4"
//==================================================================
//==================================================================
#define LR1        "L_RODE|ConRod|LR1_"
#define LR2        "L_RODE|ConRod|LR2_"
#define LR3        "L_RODE|ConRod|LR3_"
#define LR4        "L_RODE|ConRod|LR4_"
#define LR5        "L_RODE|ConRod|LR5_"
#define LR6        "L_RODE|ConRod|LR6_"
#define LR7        "L_RODE|ConRod|LR7_"
#define LR8        "L_RODE|ConRod|LR8_"
#define LR9        "L_RODE|ConRod|LR9_"
#define LR10       "L_RODE|ConRod|LR10_"
#define LR14       "L_RODE|ConRod|LR14_"
#define LR15       "L_RODE|ConRod|LR15_"

上のMAYA側とVC++側での定義ファイル内と良く見比べて下さい。ダブルクォーテーション内にMAYA側での定義OBJ名に合わせて記載しています、これらの一連文字列がMAYA側とのインタフェース名となります、これから詳細に説明して行こうと思います。